You are very welcome :)<br><br>What about not an operator but a regular constructor for the interval thing?<br>Something like: Between Double Double<br><br>Nevertheless, I think :&amp;: is not bad at all. You can leave it as it is.<br>
<br>Best,<br><br><div class="gmail_quote">On 31 March 2010 14:57, Alberto Ruiz <span dir="ltr">&lt;<a href="mailto:aruiz@um.es">aruiz@um.es</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Ozgur,<br>
<br>
You are right, the operators are misleading. I will change them to &quot;:&lt;=:&quot; and &quot;:&gt;=:&quot;. And perhaps the symbol &quot;:&amp;:&quot; for the interval bound should also be improved...<br>
<br>
Thanks for your suggestion!<br><font color="#888888">
Alberto</font><div><div></div><div class="h5"><br>
<br>
Ozgur Akgun wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi everyone and Alberto,<br>
<br>
Numeric.LinearProgramming[1] provides a very nice interface for solving LP optimisation problems, and the well-known simplex algorithm itself. I must say I quite liked the interface it provides, simple yet sufficient.<br>

<br>
But, to my understanding, there is a confusion in the constructor name (symbols actually) for constraints. In LP, one needs to write constraints in the form of ==, &lt;=, or &gt;= only. You /cannot /write a constraint using strict inequalities. The algorithm has nothing wrong, but I guess it would be better to have constructor symbols right. See [2]<br>

<br>
If this is a design choice, I think it should explicitly be stated.<br>
<br>
Regards,<br>
<br>
[1] <a href="http://hackage.haskell.org/package/hmatrix-glpk" target="_blank">http://hackage.haskell.org/package/hmatrix-glpk</a><br>
[2] <a href="http://hackage.haskell.org/packages/archive/hmatrix-glpk/0.1.0/doc/html/Numeric-LinearProgramming.html#t%3ABound" target="_blank">http://hackage.haskell.org/packages/archive/hmatrix-glpk/0.1.0/doc/html/Numeric-LinearProgramming.html#t%3ABound</a> <br>

<br>
-- <br>
Ozgur Akgun<br>
</blockquote>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ozgur Akgun<br>