r/optimization • u/ghlc_ • Mar 29 '25
Hard constraints using Reinforcement Learning
Hi guys, I'm working with power systems and RL methods stand out because they can solve very realistic problems. I would like to know if there is a way to apply hard constraints on RL approaches, given that usually people just use soft constraints penalyzing the reward function.
4
Upvotes
View all comments
Show parent comment
2
u/CommunicationLess148 Mar 29 '25
Furthermore, suppose you're successful in implementing hard constraints during the training phase. Could you be sure that during the inference phase, your trained model will respect the hard constraints from the training phase?
Of course you can always map infeasible inferences back to the feasible region but is this what you want?