-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Open
Labels
featureA request for a proper, new feature.A request for a proper, new feature.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🚀 Feature
Offer the option to set box constraints for optimizers.
Motivation
In some applications of reinforcement learning, falling outside of a region correspond to inadmissible actions.
Alternatives
One can omit the constraints, and hope that the optimal parameters found happen to be within the constraints, without any guarantees.
Additional context
This was suggested in #938 for torch.optim.lbfgs.
CC @bamos
natolambert, Masood-Lapeh, chenzhekl, gfrisch, Tal-Golan and 3 more
Metadata
Metadata
Assignees
Labels
featureA request for a proper, new feature.A request for a proper, new feature.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module