Originally posted by: Eumpfenbach1
I wrote some working code about 3 years ago using the CPLEX MATLAB API. It instantiated a CPLEX object like this:
cplex = Cplex('cplex');
cplex.readModel('New_MNL.lp');
I am dusting off the code and trying to run it now with CPLEX Studio 1261 and it is complaining about "two mandatory arguments for object of type CPLEX." I see from the documentation that the class should now be cplexmilp, but it still won't let me create an empty object and then read in the details through the lp file. I'm trying to get this going again with as few code rewrites as possible. Any help would be appreciated. Thanks.
#CPLEXOptimizers#DecisionOptimization