<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Sourav,<br>
<br>
1. -maximize is just a flag - you should follow it with
-dualsimplex or similar.<br>
2. Clp does not solve integer problems - Cbc does so download
that.<br>
<br>
John Forrest<br>
On 20/05/14 10:42, Sourav Garg wrote:<br>
</div>
<blockquote
cite="mid:CAE9Jt7EmMxH98XrNwQkOCjYVbf4XyH8RG1y8=iYxd+U=1E0Pig@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
I am using Clp1.15.6 on an Ubuntu
12.04 machine.<br>
</div>
I have compiled and installed the
executable as mentioned in the readme
install notes, which went successful.<br>
</div>
<br>
1. I have been trying some linear programs
using the Clp executable with a mps file.
It gives me right solution for a
minimization problem (which is the default
direction of optimisation), but it doesn't
give me correct solutions for maximisation
problems.<br>
</div>
<br>
For maximisation, I use it as follows:<br>
</div>
./clp ./my.mps -maximize -solution solFile<br>
</div>
<br>
What I get in the file is:<br>
</div>
status unknown<br>
</div>
objective value 0<br>
</div>
columns val 0 as well..<br>
<br>
</div>
2. Apart from this, I have a Binary Integer Program
problem, for minimisation, in which I pass all the
bounds as BV in the mps file.<br>
</div>
But in the solution I get floating point values for the
non zero columns instead of getting the value of 1. I
wanted to know if Binary Integer Programming is supported
with the library?<br>
<br>
</div>
Thanks,<br>
</div>
Sourav<br>
</div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Clp mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a>
</pre>
</blockquote>
<br>
</body>
</html>