Skip to content

Are there any restrictions on using gurobi in yalmip? #1408

Discussion options

You must be logged in to vote

you're still going to have to massage the model though

the cubic expression xV^2 should be written as Q^2 where you want Q=xV which you most likely do best by logic linearization, i.e implies(x,Q==V) + implies(1-x,Q==0)

in the same way, xV1V2cos(a) you write as Qcos(a) where Q is xQ1V2 which you do by Q==Q2V2 where Q2 is the logic linearization of xV1

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@johanlofberg
Comment options

@ellensonny
Comment options

@johanlofberg
Comment options

@johanlofberg
Comment options

Answer selected by ellensonny
@ellensonny
Comment options

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