Originally posted by: BachT
Hello everyone.
I would like to ask about the initial point for C++ API of cplex 12.6.
My problem involved in solving an QCP problem, which can be solved by using Barrier Optimizer.
Due to the characteristic of our algorithm (linear objective, quadratic constraints), we may has good initial point for the algorithm, instead letting the Barrier optimizer do all the job.
The issue is that, I read through the manual / documentation of Cplex API for C++ (concert) without finding any good solution for it (please correct me if i am wrong):
- The QCP problem can be solved by Barrie Optimizer, which does not let user choose initial point (but it allows user to choose algorithm to find initial point), which turn out to be super slow for our application.
- Also, we often have to change the objective function a little bit, but still keep the same constraints (i.e. setup the IloEnv, IloModel, and IloCplex outside the loop, and update the objective inside the loop by using setLinearCoefs then re-solve it again) . My experience is that with my setup, each time i solve the problem, the Barrier Optimizer still use the same process, which is a waste of time to my problem.
- We can remodel QCP into a huge LP problem, and can also use the initial point for the LP by using Simplex Optimizer, but my attempt with the LP (on toy and small problem) does not show a really success on using the initial point (or may be I use the wrong API).
My questions are:
1. Is it possible to use a user-chosen initial point for QCP problem? (by any mean of using any way / optimizer that Cplex support).
2. By using the same model (QCP), and update the model interactively (i.e. update the objective function by setLinearCoefs and then resolve it again), is it "save" anything in term of time?
3. How to "correctly' setup initial point for the LP problem? (by any mean of using any way / optimizer that Cplex support).
4. The same as question 2, but for LP problem.
Thank you for reading :)
#CPLEXOptimizers#DecisionOptimization