Modelstat

I realized that sometimes in my model, the solution is not correct, so
i define a put, whith the
“Modelstat” to identify the problem. (Think this is the correct way to
do it)…

In most of the solutions the Modelstat value =1 (I think is meaning
OK),
but sometimes Modelstat value = 19 …

Can someone tell me what a modelstat=19 means, i dont find it…

Thanks!

\

Here’s an excerpt from the McCarl GAMS User Guide (http://
lvps87-230-34-193.dedicated.hosteurope.de/mccarl/mccarlhtml/
index.html)

Value of Modelstat Indicated Model Solution Status


1 Optimal solution achieved
2 Local optimal solution achieved (Only type found in an NLP)
3 Unbounded model found
4 Infeasible model found
5 Locally infeasible model found (in NLPs)
6 Solver terminated early and model was feasible but not yet optimal
7 Solver terminated early and model was infeasible
8 Integer solution model found
9 Solver terminated early with a non integer solution found (only in
MIPs)
10 No feasible integer solution could be found
12 Error achieved – No cause known
13 Error achieved – No solution attained
14 No solution returned from CNS models
15 Feasible in a CNS models
16 Locally feasible in a CNS models
17 Singular in a CNS models
18 Unbounded – no solution
19 Infeasible – no solution

I guess in your case, the solver just couldn’t find a feasible
solution. Perhaps your parameters won’t allow for a solution at all?
Especially if all your others come up with an optimal solution, most
likely it’s a numbers problem in this case.

Regards
Chris

On 2 Feb., 11:38, nieBidon wrote:

I realized that sometimes in my model, the solution is not correct, so
i define a put, whith the
“Modelstat” to identify the problem. (Think this is the correct way to
do it)…

In most of the solutions the Modelstat value =1 (I think is meaning
OK),
but sometimes Modelstat value = 19 …

Can someone tell me what a modelstat=19 means, i dont find it…

Thanks!

\