Forum Discussion
FICO
9 years agoCommunity Manager
How do I change a batch of control parameters?
Hi, I am new to Xpress. Is it possible to change control parameters by reading in a parameters file ? I need to be able to quickly change about 60 parameters multiple times.
FICO
9 years agoCommunity Manager
With the C API you could also use this routine:
int XPRS_CC XPRSsetparam(XPRSprob prob,const char* _paramname, const char* _svalue);
that allows you to set Optimizer controls by string, meaning that you do not have to first check whether the control is an integer or double, such as in:
XPRSsetparam(myprob, "XPRS_PRESOLVE", "1");
Related Content
Related Content
How can I set the ncvx_qcqp_init parameter when using Xpress NonLinear with Knitro? This parameter is suggested by Knitro but does not appear in the Xpress controls documentation, and attempts to set
Hello everyone, I’m working on a nonlinear and nonconvex model with Xpress NonLinear, which uses Knitro as the NL solver. During execution, Knitro returns the following message: HINT: The problem a...

