Originally posted by: Nodame
I am calling Cplex from C# to solve an LP Optimization problem. The problem I have is that it takes too long for the solver to find a solution.
I am thinking that maybe my problem is too large. I would like to know how large the problem is (Number of variables and total number of constraints).
I know I can have an idea of what the problem looks like by using:
cplex.ExportModel("MYmodel.lp");
However, when I open the file MYModel.lp (using Notepad for instance), it seems like some of the constraints are omitted, and I don't see a way to know the exact number of variables and constraints.
My question is, is there an easy way to have these information: for instance a report that says:
Number of variables = blah
number of Constraints = blah2
#CPLEXOptimizers#DecisionOptimization