Topic
No replies
qtbgo
qtbgo
14 Posts
ACCEPTED ANSWER

Pinned topic can we use script to output feasible solutions and time?

‏2012-11-02T23:45:42Z |
Hi, is there a way we can do something in OPL CPLEX like the following OPL CP script?



while(cp.next() ) 
{ writeln(
"obj = ", cp.getObjValue(),  
" | time = ", cp.info.SolveTime); 
}

I know this https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14582814&#14582814
But, I want to use script to control the output.
Thanks