We are programming a Mixed-Binary-Integer problem in C++ using CPLEX APIs.
While executing the code for the same we are facing memory shortage issue. This is happening at the time when expressions are created- especially at objective function expression. It’s not even reaching to the solver when memory is exhausting.
Below are the details of the problem and server where we are running the code:
• Problem has:
Real variables =1,00,000
Binary variables =400
Number of variables adding in objective function expression=1, 00, 400
• Server details
2 GB RAM
Could anyone please help us finding the possible reasons behind this issue. Also, please suggest us what can be done to handle this situation.