Forum Discussion
FICO
2 years agoCommunity Manager
XNLP_VERBOSE turn off WARNING column/row has been ignored....
Hi! When using XNLP_VERBOSE Is there any way to turn off the warning messages that a row has been ignored when constructing a model? I am finding that the model spends more on time printing out w...
FICO
2 years agoCommunity Manager
The warning messages you are observing are produced by the solver Knitro. There is no direct way of disabling just such warnings. However, what you might want to do is to redirect the full solver output into a file (physical or in memory) and apply some filtering when displaying the output that has been stored, for example as in the following code snippet:
fopen("mylog",F_OUTPUT)
maximise(MyObjective)
fclose(F_OUTPUT)
fopen("mylog",F_INPUT)
while(readtextline(l)>0) do
if not startswith(l,"WARNING:"): write(l)
end-do
fclose(F_INPUT)The in-memory version just requires adding a driver prefix to the filename:
fopen("mem:mylog",F_OUTPUT)
maximise(MyObjective)
fclose(F_OUTPUT)
fopen("mem:mylog",F_INPUT)
while(readtextline(l)>0) do
if not startswith(l,"WARNING:"): write(l)
end-do
fclose(F_INPUT)Related Content
Related Content
Xpress ignores memory limits
I'm running a Mip model through Xpress 9.2.5, python interface. Halfway the solve, the solve process is killed due to an out-of-memory error: Out of memory: Killed process 5270 (python) I tried impo...2 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1CommentWhy does Xpress ignore my warm start lp solution?
I am trying to use a warm start of the newton barrier method using the example provided here. However, instead of using my supplied solution the solver starts with all values set to 0. I have tried ...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread0Views0likes4CommentsIgnored constraints on non linear problem
Hello all, I'm working on a final studies project and i'm facing some issue on the Xpress Solver. The versions i'm using are Xpress-IVE Version 1.24.00 64bit, Xpress Mosel Version 3.4.2 and Xpress ...10 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum5 unread comments5 unread0Views0likes5Comments