-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to solve an MISDP problem #423
Comments
Can you provide the error message you're getting? Are you using Julia v1 (or later)? If you're using Julia v1.0 or later, then my best guess is that your error comes from this line (in the dz = diagm(z); The dz = Diagonal(z) |
@mtanneau Thank you for the tip. It was indeed getting stuck there. dz = Diagonal(z); However, it still gets stuck at the conversion of Diagonal as variable type for the expression 1/rho*A*dz*A' it throuws the following error ERROR: LoadError: MethodError: Cannot `convert` an object of type JuMP.GenericQuadExpr{Float64,Varia
ble} to an object of type JuMP.GenericAffExpr{Float64,Variable} |
This looks more like a JuMP-related than Pajarito-related error... |
You can make:
It works for me. |
Closing as stale and because this doesn't look like a bug in Pajarito. |
Hi, I am considering to solve a misdp problem. I found this example online and thought, I would try to see if this works. However, It always get stuck at creating a diagonal matrix of an array variable.
The text was updated successfully, but these errors were encountered: