Forum Discussion
FICO
4 years agoCommunity Manager
Final solution of a nonlinear non-convex problem solved with Knitro (via Xpress) looks worse than the initial solution
Dear all, I have a couple of questions on the use of the procedure setinitval and more in general on the use of an initial solution for solving a nonlinear problem. I am solving a series of nonline...
FICO
4 years agoCommunity Manager
Hi Tristan,
I followed your instructions but I have a new question related to the setinitval procedure.
I load my initial solution by setting the value of each variable (not every but most of them).
Then I set the parameter xslp_log = 5 in order to see the initial point passed to Knitro but the point is not what I expected.
Beside some variables that completely changed their initial values, and I know this could be because of some preprocessing made by xpress, there are some other variables whose values look shifted from one position.
Here is an example.
What I load into the model and read in the .mps file of the problem is:
flowOn((77_278_83_313)_ENERGY,0)= 111.446
flowOn((77_278_83_313)_ENERGY,1)= 111.346
flowOn((77_278_83_313)_ENERGY,2)= 111.246
flowOn((77_278_83_313)_ENERGY,3)= 112.939
What I read in the mosel log file is:
flowOn((77_278_83_313)_ENERGY,0)= 111.346
flowOn((77_278_83_313)_ENERGY,1)= 111.246
flowOn((77_278_83_313)_ENERGY,2)= 112.939
flowOn((77_278_83_313)_ENERGY,3)= 0
I also tried to solve the .mps directly from the console and again I found this mismatch, please see the attached picture.
Do you know what is happening? Could this be an error in the logging procedure? Or the initial point is actually shifted?
This would explain why Knitro cannot complete the search and reaches the time limit even when the initial point I provide is a feasible one.
Thank you!
Br, Caterina
Related Content
Related Content
MIP solution status
Hello, I've been using code like this to get the solution status of a MIP: case getprobstat of XPRS_OPT: status:="Optimum found" XPRS_UNF: status:="Unfinished" XPRS_INF: status:="Infeasib...5 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread8Views0likes3CommentsHow to solve MPEC (non-convex QCQP) through Python API?
I am trying to solve MPEC (non-convex QCQP) with Xpress through the Python API. I am running v8.5.13 (due to institutional license). I get the following error: ?900 Warning: The quadratic part of r...6 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread0Views0likes3CommentsIs an interface between Xpress-Mosel and the global (non-convex) optimization solvers Baron or Antigone possible?
I'm working for several years in a PhD-project on engineering problems in membrane cascades containing bilinear terms (MINLP). We initially tried to solve the generated problems with (I presume an SL...6 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2Comments