[Cmpl] CBC solver not working
Ainara Aguirre Arcelus
ainara at post.harvard.edu
Wed Jun 8 19:59:26 EDT 2016
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[];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20160608/32c5f534/attachment.html>
More information about the Cmpl
mailing list