I have an essential problem. I use Cplex in C++ and I try to implement my optimization programs by it; however, I have an essential problem.
I want to find dual of my program. How can I find some constructs in Cplex for C++ that do it?
I have an essential problem. I use Cplex in C++ and I try to implement my optimization programs by it; however, I have an essential problem.
I want to find dual of my program. How can I find some constructs in Cplex for C++ that do it?
I'm not entirely sure if this is what you're asking for, but the presolve dual setting (quoting the documentation):
With the C++ API, this can be set, like so:
Somewhat related is the DUA file format:
If, on the other hand, you want to query dual values after solving a model, you can use the getDuals method.