Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  total memory usage

    Posted 12/25/13 11:59 PM

    Originally posted by: amindehghanian


    Hello,

     

    How can I reach the information about the total memory used in solving an MIP  in the callable library?

     

    Thanks,


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: total memory usage

    Posted 01/06/14 05:29 AM

    That information is not available since CPLEX does not even keep track of that. Depending on the operating system you use there are usually ways to read the high-water mark of memory consumption which can serve as an approximation to the total memory consumption.

    On Windows you can use function GetProcessMemoryInfo() and for example look at the PeakWorkingSetSize field in the result.

    On Linux  you can read /proc/<pid>/status and look at the VmHWM field.

    In both case the result can be used as an approximation of the maximum memory usage.


    #CPLEXOptimizers
    #DecisionOptimization