Statistics for solver operations
Provides access to performance metrics, memory usage, decision counts, and other diagnostic information from solver operations.
Readonly
Return all statistics as an array of entries
Array of all statistics entries
Return a specific statistic value by key
The key of the statistic to retrieve
The numeric value of the statistic
Error if the key doesn't exist
Return the keys of all statistical data
Array of statistic keys
Manually decrease the reference count of the statistics object This is automatically done when the statistics is garbage collected, but calling this eagerly can help release memory sooner.
Return the number of statistical data points
The number of statistics entries
Statistics for solver operations
Provides access to performance metrics, memory usage, decision counts, and other diagnostic information from solver operations.