Skip to content

Commit

Permalink
Made unimodal function bounds smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
hbja committed Jun 14, 2024
1 parent 359a73e commit 04a21b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcse_gym/envs/rewards.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def unimodal_function(b):
"""
For NUE reward, coefficient indicating how close the NUE in the range of lower_bound-upper_bound%
"""
lower_bound = 0.6
lower_bound = 0.7
upper_bound = 0.8
if b < lower_bound:
return upper_bound * np.exp(-10 * (lower_bound - b)) + 0.1
Expand Down

0 comments on commit 04a21b5

Please sign in to comment.