Originally posted by: T_O
Ragheb,
these are plain C functions. You can use them in C++, I often do this. Depending on the C API you use (cplex.h or cplexx.h), the function names contain 1 or 2 X. I recommend the newer API (cplexx.h). I hope, your actual code is written using one of these APIs? (If it is written in Concert, we have a problem...)
In my code, I do something like:
CPXXbinvarow( env, lp, Binv[ ind ], foobar.data() )
where env is my environment and lp my problem. Binv[ind] is the row that i want to obtain. foobar is a std::vector<double> that will contain the row of BinvA after the function call.
The manual of CPXXbinvarow is here. You will also find the documentation of the other functions there.
Best regards,
Thomas
#CPLEXOptimizers#DecisionOptimization