Skip to content

Commit

Permalink
die
Browse files Browse the repository at this point in the history
  • Loading branch information
rob committed Nov 11, 2023
1 parent 0053588 commit 95ec105
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ def trade_shadow_cost(self):
return self.speed_control.trade_shadow_cost

def constraint_function_value(self, weights: np.array):
## Function that will return a big number if constraints aren't satisfied
if self.constraint_function == arg_not_supplied:
return 0.0

Expand Down

0 comments on commit 95ec105

Please sign in to comment.