Originally posted by: Uonly
Thanks Daniel for your answer.
Recently I am trying feasopt for testing feasibility of MIP.
It is no problem when I was Cplex C API.
I just set
status = CPXfeasopt (env, lp, NULL, NULL, NULL, NULL);
Basically it tells cplex there is nothing to relax. So Cplex will solve the feasibility problem , like phase I for lp.
It worked perfectly!
But the problem comes later when I switch to Cplex C++ concert API.
The usage is essentially the same, I set
result = solver. feasOpt(NULL, NULL), where solver is an object of IloCplex.
(I also use feasOpt(NULL, NULL,NULL), neither signatures work)
It compiles fine but has a run time error as shown in the picture attached.
I am using Cplex 12.6.0.1 under MS Visual Studio 2010, 32 bit Debug version
I feel too bold to claim that there is a bug in CPLEX concert API.
But I could not find an answer to it after investigating for a quite long time.
Would you please help with this problem?
Thanks
#CPLEXOptimizers#DecisionOptimization