These are chat archives for opencobra/cobrapy

Mar 2017
Kristian Jensen
Mar 06 2017 13:54
@Midnighter There is no 'non-optimal' status. The main ones are 'optimal', 'infeasible' and 'unbounded'. Each solver also has various more specific statuses most of which will return 'check_original_solver_status'. Those are pretty uncommon though.
Christian Diener
Mar 06 2017 18:32
@Midnighter there is a bug in get_solution. model.solver.reduced_costs can be None (always the case for MIPs) but you don't seem to check for that which breaks add_loopless.
@Midnighter Ah sorry, just saw that @hredestig already fixed it :sweat: