coin-or / MibS

A solver for mixed integer bilevel programs
Eclipse Public License 1.0
50 stars 20 forks source link

add an option to write optimal value and solutions to a file #115

Closed yuxies closed 1 year ago

yuxies commented 1 year ago

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

tkralphs commented 1 year ago

OK, I made it so the solution always prints to the screen, which is I guess what we want. Looks good!