[Cmpl] CBC solver not working

Ainara Aguirre Arcelus ainara at post.harvard.edu
Thu Jun 9 12:31:31 EDT 2016


Hi Mike,

This new version worked with no problems.  Thank you very much for your
prompt reply,

Ainara

2016-06-09 2:23 GMT-07:00 Mike Steglich <mike.steglich at stegger.net>:

> Hello Ainara,
>
> Thank you for using CMPL.
>
> This is actually a strange behaviour. I would like to propose to download
> the Cmpl v1.11 using the following link:
> http://coliop.org/_download/Cmpl-1-11-0-win.zip
>
> This is the new version … but I have to find a little bit time to release
> it officially and to update the website.
>
> Cheers,
>
> Mike
>
>
> Am 09.06.2016 um 01:59 schrieb Ainara Aguirre Arcelus <
> ainara at post.harvard.edu>:
>
> Hi,
>
> I installed version 1.10.0 for Windows 64 today.  GLPK works great for a
> test.cmpl model in a desktop folder.  I can't get CBC to solve, however.
> Has anyone else gotten this error and knows what I'm missing?  Please see
> code below.
>
> Thanks very much,
>
> Ainara
>
>
> The command file output is
>
> Cmpl: cmpl /Users/Ainara/Desktop/e2e/apple/cmpl/test.cmpl
>
> CMPL model generation - running
>
> CMPL version: 1.10.0
> Authors: Thomas Schleiff, Mike Steglich
> Distributed under the GPLv3
>
> create model instance ...
> write model instance ...
> CMPL model generation - finished
>
> Solver - running
>
> Welcome to the CBC MILP Solver
> Version: 2.8.8
> Build Date: Dec 21 2013
> Revision Number: 1998
>
> command line - C:\Program Files (x86)\Cmpl\bin\..\Thirdparty\CBC\cbc
> /Users/Ainara/Desktop/e2e/apple/cmpl/test.mps max solve gsolu
> /Users/Ainara/Desktop/e2e/apple/cmpl/test.gsol (default strategy 1)
> Unable to open file .\/Users/Ainara/Desktop/e2e/apple/cmpl/test.mps
> **Current model not valid
> ** Current model not valid
>
> No match for /Users/Ainara/Desktop/e2e/apple/cmpl/test.gsol - ? for list
> of commands
> Total time (CPU seconds): 0.00 (Wallclock seconds): 0.00
>
> Error(interfaces): Can't open GLPK Solution file:
> /Users/Ainara/Desktop/e2e/apple/cmpl/test.gsol
>
>
>
> The test.cmpl model file is
> parameters:
> c[] := (1,2,3);
> b[] := (15,20);
> A[,] := ((5.6, 7.7, 10.5),
> (9.8, 4.2, 11.1));
>
> variables:
> x[defset(c[])] : real[0..];
>
> objectives:
> c[]T * x[] -> max;
> constraints:
> A[,] * x[] <= b[];
> _______________________________________________
> Cmpl mailing list
> Cmpl at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cmpl
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20160609/abdf78b2/attachment.html>


More information about the Cmpl mailing list