Closed yuxies closed 1 year ago
MibS_writeInstanceName
std::out
The output will look like this:
============================================ Optimal solution: Cost = -2 First stage (upper level) variable values: C0000001 = 1 C0000002 = 1 C0000003 = 1 Second stage (lower level) variable values: C0000004 = 1 C0000005 = 1
OK, I made it so the solution always prints to the screen, which is I guess what we want. Looks good!
MibS_writeInstanceName
followed by a string name is detected, the optimal value and solutions will be written to the given file name.std::out
.The output will look like this: