<div dir="ltr">The objective is all-zeroes, because I was just checking feasibility at the point the error occurred. When presolve is on, it solves to optimality (objective value 0) and says that it is feasible. When presolve is off, I get nan or an assertion failure. <div><br></div><div>Now, if I add the first >= constraint as the objective (it is a minimization problem), we should be either primal infeasible or optimal. When presolve is on, I get optimal; when presolve is off, I get "Clp0001I Primal infeasible - objective value -nan".</div><div><br></div><div>The lp file with the new objective is attached.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, May 6, 2017 at 6:32 PM Sébastien Roy <<a href="mailto:sebastien.roy.sr@gmail.com" target="_blank">sebastien.roy.sr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This usually means your linear program is unbounded so the objective function value is infinity. If your modeling a problem that should bound you must have an error in your linear program model.</div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Sat, May 6, 2017 at 6:20 PM, Aleksandr M. Kazachkov <span dir="ltr"><<a href="mailto:akazachk@cmu.edu" target="_blank">akazachk@cmu.edu</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone,<div><br></div><div>I am not sure if there is something wrong with my setup, or if this is a bug, but I would appreciate any help in either case. Thank you in advance!<br></div><div><br></div><div>I have Clp version 1.16 set up on a Fedora machine. The compilation options are: enable_debug=yes, enable_gnu_packages=yes, and I am using blas and lapack. There are no problems when I run "make test".</div><div><br></div><div>However, on the following LP (which solves fine when using Bcp-1.4.3, which maybe is using an older version of Clp), when presolve (initial) is off, I get that the objective value is "nan". In the context this LP came up (but not when I saved it and ran it on its own), I got the following assertion failure: </div><div>../../../Clp/src/ClpSimplexDual.cpp:3216: int ClpSimplexDual::changeBounds(int, CoinIndexedVector*, double&): Assertion `!("should not be here")' failed.<br></div><div><br></div><div>Specifically, I get the error after the following two lines:</div><div>  solver.setHintParam(OsiDoPresolveInInitial, false); </div><div>  solver.initialSolve();</div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_clp&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=QucHtiOE6l_F6qqZBx1wRnOlfxGN76vTLMBmdvbxugw&m=3px0r_GTXRracL5O_VCNIs6wypj5AB2PkAsFdkd9NpA&s=cIujfK_WHj04A3bZYaw7BY3otKyFlEVCPn7yLd1siEc&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_clp&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=QucHtiOE6l_F6qqZBx1wRnOlfxGN76vTLMBmdvbxugw&m=3px0r_GTXRracL5O_VCNIs6wypj5AB2PkAsFdkd9NpA&s=cIujfK_WHj04A3bZYaw7BY3otKyFlEVCPn7yLd1siEc&e=</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div>