add new constraints to Optimizer object during the for loop simulation #1370
Unanswered
huytruong1908
asked this question in
Optimization modelling
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Professor Löfberg,
as suggested in some previous post, in order to reduce the yalmip time, we should create an optimizer object before entering the for loop. However in my problem, some additional constraints depend on variables which can only determined during the simulation (e.g the number of vehicles appearing at that time step). So I wonder is there an effective way to implement this? I think it would look like this:
Beta Was this translation helpful? Give feedback.
All reactions