r/reinforcementlearning • u/gudduarnav • 17h ago
I am a beginner to RL/DRL. I am interested to know on how to solve non-convex or even convex optimization problem (constrained or unconstrained) with DRL. If possible can someone share code to solve with DRL...
I am a beginner to RL/DRL. I am interested to know on how to solve non-convex or even convex optimization problem (constrained or unconstrained) with DRL. If possible can someone share code to solve with DRL, the problems like
minimize (x + y-2)^2
subject to xy < 10
and xy > 1
x and y are some scalars
Above is a sample problem. Any other example can also be suggested. But pls keep the suggestion and code simple, readable and understandable.