- Function GMP::SolverSession::GetMemoryUsed(solverSession)
GMP::SolverSession::GetMemoryUsedreturns the amount of memory used by the solver session.
GMP::SolverSession::GetMemoryUsed( solverSession ! (input) a solver session )
An element in the set
The amount of megabytes used to execute a solver session.
This function should be called inside a callback procedure to retrieve the current amount of memory used by the solver during a solve.
During a solve, the memory used by the solver can fluctuate.
For CPLEX and Gurobi, AIMMS calculates the memory in use based on the virtual memory used by the process. This approach is not reliable for asynchronous solver sessions.