[Cbc] Pass model and/or data to the executable via standard input

John Forrest john.forrest at fastercoin.com
Tue Apr 16 13:44:35 EDT 2013


Pietro,

If you can do something like this (in linux) would that work?

cat test.lp |bin/cbc -import stdin_lp -solve
Welcome to the CBC MILP Solver

command line - bin/cbc -import stdin_lp -solve (default strategy 1)
Continuous objective value is 3.23684 - 0.00 seconds
Cgl0004I processed model has 1 rows, 3 columns (0 integer) and 3 elements
Cbc3007W No integer variables - nothing to do

I have committed fixes to trunk - key thing is to import from stdin_lp 
(exact spelling needed)

Does anyone know how to get GMPL working on Windows?

John Forrest



More information about the Cbc mailing list