<font size=2 face="sans-serif">The problem is certainly infeasibility.
&nbsp;Unboundedness is simply not possible if all the variables have bounds.
&nbsp;Here are some random ideas.</font>
<br>
<br><font size=2 face="sans-serif">If you can do it without modifying your
code too painfully, you might try selectively disabling constraints to
find an infeasible set.</font>
<br>
<br><font size=2 face="sans-serif">I assume you have some integer variables.
&nbsp;If so, make sure that their bounds all include at least one integer.
&nbsp;For instance, if X is an integer, but 0.3 &lt;= X &lt;= 0.82, then
the problem is infeasible because there are no integers in that range.</font>
<br>
<br><font size=2 face="sans-serif">Look at your objective, and try removing
the lower bounds on some variables with positive coefficients, or the upper
bounds on some with negative coefficients. &nbsp;This might give you a
better idea of the nature of the infeasibility.</font>
<br>
<br><font size=2 face="sans-serif">Remember that an infeasibility is a
distributed issue; you cannot attribute it to a single bound or constraint.
&nbsp;The best you can hope for is to find a small subset of your bounds
and constraints that is still infeasible, but is simple enough to understand.</font>
<br>
<br><font size=2 face="sans-serif">You might want to try saving the problem
as an MPS file (using WriteMps), so that you can more easily modify the
problem and make your debug cycle simpler.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Christos &lt;chtsolak@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">acw@ascent.com</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">Allan Wechsler &lt;acw@robson.ascent.com&gt;,
&quot;cbc@list.coin-or.org&quot; &lt;cbc@list.coin-or.org&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">08/10/2012 03:59 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [Cbc] Artificial variables</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Thank you very much for you time and your valuable help.<br>
<br>
Yes, all the variables are bounded.. Some of them have equal low and upper
bounds. I tried by differing them, but the problem remains...<br>
<br>
I would try the option of limiting the objective but the code is too complex
to add a new constrain in a few hours.. (The model is constructed in C++
by reading an excel file).<br>
<br>
So, i almost agree that the defect is infeasibility.<br>
<br>
Can you suggest any trick to find it while trying to limit the objective?<br>
<br>
Thank you very much.<br>
<br>
<br>
On 10/8/2012 20:06, </font><a href=mailto:acw@ascent.com><font size=3 color=blue><u>acw@ascent.com</u></font></a><font size=3>
wrote:</font>
<br><font size=2 face="sans-serif">The objective is a linear combination
of some set of variables. &nbsp;Of course I don't know what your objective
function is, but let's call it F.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Since this is a minimization problem, I propose adding one more constraint
to the problem, F &gt;= -1e6. &nbsp;If unboundedness is the problem, the
modified problem will solve with no trouble.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
In your first response, you mention variable bounds. &nbsp;Do you have
bounds on all your variables? &nbsp;If you do, then my analysis is probably
wrong and the difficulty is infeasibility rather than unboundedness.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
It should not be necessary to know any solver internals to figure out what's
wrong.</font><font size=3> <br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=9%><font size=1 color=#5f5f5f face="sans-serif">From:</font><font size=3>
</font>
<td width=90%><font size=1 face="sans-serif">Christos </font><a href=mailto:chtsolak@gmail.com><font size=1 color=blue face="sans-serif"><u>&lt;chtsolak@gmail.com&gt;</u></font></a><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font><font size=3>
</font>
<td><a href=mailto:acw@ascent.com><font size=1 color=blue face="sans-serif"><u>acw@ascent.com</u></font></a><font size=3>
</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font><font size=3>
</font>
<td><a href="mailto:cbc@list.coin-or.org"><font size=1 color=blue face="sans-serif"><u>&quot;cbc@list.coin-or.org&quot;</u></font></a><font size=1 face="sans-serif">
</font><a href="mailto:cbc@list.coin-or.org"><font size=1 color=blue face="sans-serif"><u>&lt;cbc@list.coin-or.org&gt;</u></font></a><font size=1 face="sans-serif">,
Allan Wechsler </font><a href=mailto:acw@robson.ascent.com><font size=1 color=blue face="sans-serif"><u>&lt;acw@robson.ascent.com&gt;</u></font></a><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">08/10/2012 12:37 PM</font><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">Re: [Cbc] Artificial variables</font></table>
<br><font size=3><br>
</font>
<hr noshade><font size=3><br>
<br>
<br>
I forgot to mention that it is a minimization problem , so i do not know
if there is any point in limiting objective.<br>
<br>
Sorry for the double mail.<br>
<br>
On 10/8/2012 19:24, </font><a href=mailto:acw@ascent.com><font size=3 color=blue><u>acw@ascent.com</u></font></a><font size=3>
wrote: </font><font size=2 face="sans-serif"><br>
No single constraint is responsible for an infeasibility. &nbsp;Consider
a system with one variable, and two constraints, X &gt;= 7 and X &lt;=
4. &nbsp;This system is obviously infeasible, but which of the two constraints
is at fault?</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
In your case I suspect that the problem is unbounded rather than infeasible,
because you have so few constraints and so many variables. &nbsp;Unless
the problem has a very special structure, a problem with fewer constraints
than variables is likely to be unbounded.</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
You can check this by adding a constraint that limits your objective to,
say, 1e6. &nbsp;If the problem now solves, then unboundedness is almost
certainly your difficulty.</font><font size=3> <br>
</font>
<table width=100%>
<tr valign=top>
<td width=22%><font size=1 color=#5f5f5f face="sans-serif">From:</font><font size=3>
</font>
<td width=77%><font size=1 face="sans-serif">Christos </font><a href=mailto:chtsolak@gmail.com><font size=1 color=blue face="sans-serif"><u>&lt;chtsolak@gmail.com&gt;</u></font></a><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font><font size=3>
</font>
<td><a href="mailto:cbc@list.coin-or.org"><font size=1 color=blue face="sans-serif"><u>cbc@list.coin-or.org</u></font></a><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">08/10/2012 09:32 AM</font><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">[Cbc] Artificial variables</font></table>
<br><font size=3><br>
<br>
</font>
<hr noshade><font size=3><br>
</font><tt><font size=2><br>
<br>
Hi, i have a model with around 10000 variable and 1500 equations.<br>
<br>
But i get the messages on the photo when i run it:</font></tt><font size=3 color=blue><u><br>
</u></font><a href="http://imageshack.us/photo/my-images/39/dascd.png/"><tt><font size=2 color=blue><u>http://imageshack.us/photo/my-images/39/dascd.png/</u></font></tt></a><tt><font size=2><br>
<br>
Is there any way to use artificial variable or something else in order
<br>
to find the problematic equation?<br>
<br>
Thank you in advance<br>
_______________________________________________<br>
Cbc mailing list</font></tt><font size=3 color=blue><u><br>
</u></font><a href="mailto:Cbc@list.coin-or.org"><tt><font size=2 color=blue><u>Cbc@list.coin-or.org</u></font></tt></a><font size=3 color=blue><u><br>
</u></font><a href="http://list.coin-or.org/mailman/listinfo/cbc"><tt><font size=2 color=blue><u>http://list.coin-or.org/mailman/listinfo/cbc</u></font></tt></a><font size=3><br>
<br>
</font>
<br>
<br>