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 Caterina,
unfortunately there is currently no convenient way to load in an slx solution as initial values, although we might consider adding this in the future.
At the moment you would need to store the solution values in an array and then set the initial values from there, for example:
itersol: array(integer) of real
(solve iteration i)
forall (i in I) itersol(i) := getsol(x(i))
(transfer itersol to the other model)
forall (i in I) setinitval(x(i), itersol(i))
Best,
Tristan
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