<p dir="ltr">Hi Felipe,</p>
<p dir="ltr">Thanks for your reply. I need to fix my code. I was treating missing variables as NaNs, to detect them as an error. Easy fix, though!</p>
<p dir="ltr">Best regards,</p>
<p dir="ltr">Ramon.</p>
<div class="gmail_quote">On 27 Feb 2014 01:11, "Felipe Serrano" <<a href="mailto:fserranom5@gmail.com">fserranom5@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Ramon<div><br></div><div>Variables which optimal value is 0, are not displayed.</div><div>The nlreform variables, are variables created to handle the nonlinear constraints, I guess you can ignore them.</div>
<div><br></div><div>Best,</div><div>Felipe</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 1:40 AM, Ramón Casero Cañas <span dir="ltr"><<a href="mailto:rcasero@gmail.com" target="_blank">rcasero@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
So thanks to your help and the documentation, I have been able to<br>
write my problem to a PIP file, call the SCIP binary from Matlab<br>
(scip-3.0.2.linux.x86_64.gnu.opt.spx), solve the problem until it<br>
finds 1 valid solution, write the solution to a file, and read it back<br>
into Matlab.<br>
<br>
I have variables<br>
<br>
x1<br>
y1<br>
z1<br>
...<br>
x4574<br>
y4574<br>
z4574<br>
<br>
both in the objective function and constraints.<br>
<br>
SCIP runs for a while, finds a solution, and writes its to a file. It<br>
seems that I have variables missing in the solution<br>
<br>
solution status: solution limit reached<br>
objective value: -760.711552889581<br>
x1 0.44337718267988 (obj:0)<br>
y1 -1.11537963003733 (obj:0)<br>
z1 0.640066367478129 (obj:0)<br>
x2 0.635593926577552 (obj:0)<br>
y2 0.405953492189133 (obj:0)<br>
z2 1.13206100660573 (obj:0)<br>
...<br>
x20 0.225420591151844 (obj:0)<br>
y20 1.33025644597009 (obj:0)<br>
z20 0.17304145468582 (obj:0)<br>
y21 1.09858400598118 (obj:0)<br>
x22 0.042773405539517 (obj:0)<br>
y22 1.05348001958397 (obj:0)<br>
y23 0.715794911501469 (obj:0)<br>
...<br>
<br>
Note how e.g. x21, z21 and z22 are missing here (and they are not<br>
elsewhere in the file either). Is this expected behaviour?<br>
<br>
In addition, the solutions file has at the end lines like:<br>
<br>
quadobjvar -760.711552889581 (obj:1)<br>
nlreform0 0.820888812661168 (obj:0)<br>
nlreform1 0.777248902182625 (obj:0)<br>
nlreform2 -0.189610104867685 (obj:0)<br>
nlreform3 -0.0728986988897996 (obj:0)<br>
...<br>
<br>
What are those for? I did an online search, but could only find where<br>
nlreform is coded in SCIP, not what it means.<br>
<br>
Best regards,<br>
<br>
Ramon.<br>
<br>
--<br>
Dr. Ramón Casero Cañas<br>
<br>
Oxford e-Research Centre (OeRC)<br>
University of Oxford<br>
7 Keble Rd<br>
Oxford OX1 3QG<br>
<br>
tlf <a href="tel:%2B44%20%280%29%201865%20610739" value="+441865610739" target="_blank">+44 (0) 1865 610739</a><br>
web <a href="http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas" target="_blank">http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas</a><br>
photos <a href="http://www.flickr.com/photos/rcasero/" target="_blank">http://www.flickr.com/photos/rcasero/</a><br>
<br>
_______________________________________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a><br>
<a href="http://listserv.zib.de/mailman/listinfo/scip" target="_blank">http://listserv.zib.de/mailman/listinfo/scip</a><br>
</blockquote></div><br></div>
</blockquote></div>