Objective: Refactoring

This commit is contained in:
2021-04-03 18:52:17 -05:00
parent 185b95118a
commit ea5c35fe18
5 changed files with 90 additions and 112 deletions

View File

@@ -171,11 +171,11 @@ def charts(args):
if (sense == "min").any():
primal_column = "Relative upper bound"
obj_column = "Upper bound"
predicted_obj_column = "Objective: Predicted UB"
predicted_obj_column = "Objective: Predicted upper bound"
else:
primal_column = "Relative lower bound"
obj_column = "Lower bound"
predicted_obj_column = "Objective: Predicted LB"
predicted_obj_column = "Objective: Predicted lower bound"
palette = {"baseline": "#9b59b6", "ml-exact": "#3498db", "ml-heuristic": "#95a5a6"}
fig, (ax1, ax2, ax3, ax4) = plt.subplots(