Fwiw, reinforcement learning offers objectively better optimization and more efficient inference than LP in many cases.
They're two different methodologies that are most of the time applied to vastly different problems.
11–20 of 56 posts
Fwiw, reinforcement learning offers objectively better optimization and more efficient inference than LP in many cases.
They're two different methodologies that are most of the time applied to vastly different problems.
Earlier quoted context omitted.
Any good examples or notebooks using RL to solve typical optimization problems?
I also am curious about this statement. If a problem becomes too complex for linear programming solutions, how easy is it to know that a reinforcement learning solution is actually a global optima and not just local?
If the problem is too complex for LP then you're probably not going to get a global optimal from RL either.
Fwiw, reinforcement learning offers objectively better optimization and more efficient inference than LP in many cases.
RL makes sense when you don’t know the dynamics of the environment and have interactions with it.
Linear programming can be done when you can encode a problem as linear constraints which means you know the dynamics. You can then find the optimal set of points of the convex polyhedron defined by the constraints via interior point methods.
That’s it. You don’t need exploration and you can get an optimal solution to the constraints because the feasible space is convex.
Earlier quoted context omitted.
I also am curious about this statement. If a problem becomes too complex for linear programming solutions, how easy is it to know that a reinforcement learning solution is actually a global optima and not just local?
> how easy is it to know that a reinforcement learning solution is actually a global optima and not just local? If the problem is too complex for LP then you're probably not going to get a global optimal from RL either.
Fwiw, reinforcement learning offers objectively better optimization and more efficient inference than LP in many cases.
Not even the founding fathers of RL (Bertsekas et al) have made such claims.
RL almost always solves an approximation of the dynamic program. Aka no guarantees of consistent optimality.
RL does not guarantee constraint satisfaction.
RL needs tons of data to learn the state space and still is not enough. LPs solve nowadays Traveling salesman problems to optimality with millions of nodes. RL close to optimality for less than 1000 nodes.
Author here (and a long time HN lurker), really cool to see someone post this here :). As mentioned at the beginning, the article was created mostly as additional resources for my video about LP ( https://www.youtube.com/watch?v=E72DWgKP_1Y ), which I think is definitely worth a watch if you find this interesting!
Fwiw, reinforcement learning offers objectively better optimization and more efficient inference than LP in many cases.
"reinforcement learning offers objectively better optimization" I don't follow. Linear programming (with the simplex method) finds the optimal solution set for any linear program eventually. How can reinforcement learning be "better" apart from efficiency?
Fwiw, reinforcement learning offers objectively better optimization and more efficient inference than LP in many cases.
Citation needed. RL makes sense when you don’t know the dynamics of the environment and have interactions with it. Linear programming can be done when you can encode a problem as linear constraints which means you know the dynamics. You can then find the optimal set of points of the convex polyhedron defined by the constraints via interior point methods. That’s it. You don’t need exploration and you can get an optima…