[Couenne] .sol output fix

victor.zverovich at gmail.com victor.zverovich at gmail.com
Sun Nov 1 15:09:57 EST 2015


The attached patch fixes .sol file output for trivially infeasible problems
such as

  var x >= 0;
  s.t. c: x <= -1;

Currently trying to solve it with couenne gives an error:

  Error at _cmdno 4 executing "solve" command
  (file test.ampl, line 6, offset 84):
  Bad line in test.sol:  Couenne (test.nl May 18 2015): Infeasible

because the solution format is incorrect (extra blank line at the
beginning).

Best regards,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/couenne/attachments/20151101/c54cfc9c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-sol-output.patch
Type: text/x-patch
Size: 889 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/couenne/attachments/20151101/c54cfc9c/attachment.bin>


More information about the Couenne mailing list