-
Notifications
You must be signed in to change notification settings - Fork 9
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
set_optimizer_attribute() issue #95
Comments
Which version of MathOptInterface are you using ? |
[b8f27783] MathOptInterface v0.9.22 I updated all and the problem is still there |
julia> using JuMP
julia> model = read_from_file("theta1.dat-s")
A JuMP Model
Minimization problem with:
Variables: 104
Objective function type: AffExpr
`Vector{AffExpr}`-in-`MathOptInterface.PositiveSemidefiniteConeTriangle`: 1 constraint
Model mode: AUTOMATIC
CachingOptimizer state: NO_OPTIMIZER
Solver name: No optimizer attached.
julia> set_optimizer(model, Mosek.Optimizer)
julia> set_optimizer_attribute(model,"MSK_IPAR_INTPNT_SOLVE_FORM", MosekTools.MSK_SOLVE_DUAL)
(MosekTools) pkg> st
Project MosekTools v0.12.1
Status `~/.julia/dev/MosekTools/Project.toml`
[4076af6c] JuMP v1.0.0
[b8f27783] MathOptInterface v1.1.1
[6405355b] Mosek v1.2.2
[de0858da] Printf I cannot reproduce with the latest version. |
UPDATE Thanks for your help! ORIGINAL (@v1.7) pkg> update and get [4076af6c] JuMP v0.21.4 |
There are still a few packages not supporting MathOptInterface v0.10 so one of them might have you blocked behind. |
Closing because this seems fixed. |
Julia 1.7.1
The following piece of code
gives error message
This works:
but then I don't know how to read the SDPA file into the existing model.
The text was updated successfully, but these errors were encountered: