classic_solve_UDMISes

Solves UDMIS instances with Gurobi, recording the objectives and solution times.

USAGE:

python -m classic_solve_UDMISes | tee ./run_logs/classic_solutions/UDMIS.log

Relies on MIS_inst.create_orig_MIS_IP() to create the MIP model. The solution itself is implemented in solve_UDMIS_classically().

Functions

main()

Main script code (specifies timeout and filenames).

solve_UDMIS_classically(instance_file[, ...])

Solves the MIS instance using Gurobi.

classic_solve_UDMISes.solve_UDMIS_classically(instance_file, quiet=True, timeout=None) None[source]

Solves the MIS instance using Gurobi.

Uses MIS_inst.create_orig_MIS_IP() to create the model.

classic_solve_UDMISes.main()[source]

Main script code (specifies timeout and filenames).

Solves all instances given by ./instances/orig/UDMIS*.json and saves the results into ./run_logs/classic_solutions/UDMIS.csv.