Skip to content

Commit

Permalink
add missing slack use key
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Sep 6, 2023
1 parent 752fb66 commit 94c9e4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/feedforward/feedforward_constraints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ function add_feedforward_constraints!(
meta = "$(var_type)lb",
)

use_slacks = get_slacks(ff)
for t in time_steps, name in set_name
if use_slacks
slack_var =
Expand Down

0 comments on commit 94c9e4d

Please sign in to comment.