Skip to content

YALMIP modeling speed issues #1443

Discussion options

You must be logged in to vote

Typical bad modelling is to repeatedly defining new sdpvars inside a loop, when you just as well can define them outside, and the construct new models inside loop. even further, sometimes there are onoly parts of a model that changes, and then one should simply define those and add inside the loop, and final improvement is to use optimizer if possible.

If you still have to redefine from scratch, you are probably missing a yalmip('clear')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YANGseuJW
Comment options

Answer selected by YANGseuJW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants