Skip to content

Commit

Permalink
Update redundant_facet_removal_backup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nitishmalang authored Oct 5, 2023
1 parent 3e85df2 commit 256ef15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dingo/backup/redundant_facet_removal_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ def fast_remove_redundant_facets(lb, ub, S, c, opt_percentage=100):
[-x for x in objective_function]
)

# Call solve_lp_with_different_objectives to solve LP
model_iter = solve_lp_with_different_objectives(
model_iter, objective_function_max
model_iter.copy(), objective_function_max
)


status = model_iter.status
if status == GRB.OPTIMAL:
max_objective = -model_iter.objVal
Expand Down

0 comments on commit 256ef15

Please sign in to comment.