Cbc
Cbc copied to clipboard
Reading model from stdin
I tried to find a way to stream the model into Cbc through stdin, but I couldn't find a way to do it. Is that even an option?
Yes - I am not sure if it is documented anywhere but
cat stein45.mps | cbc -- -solve
works - but only for mps files
Ah, thanks. I was hoping there would be a way to pass CPLEX .lp
files as well. Anyone aware of anything like that?
Cbc can read LP files, so I guess it should be pretty easy to add the ability to read them from stdin.