OSQP does not detect the Objective Function while reading nl file model through MathOptInterface #706
Unanswered
Eyantra698Sumanto
asked this question in
OSQP.jl - Julia Interface
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
OSQP does not detect the Objective Function while reading nl file through MathOptInterface.
We tried running a simple problem to demonstrate the issue:
Using the following approaches:
The 1st one works fine and gives the correct results while the 2nd one doesn't detect the Objective Function correctly.
Steps to Reproduce
Extract the zip file attached here:
circle.zip
julia circle_osqp.jl
. This runs OSQP directly using JuMP by defining the model in Julia.julia circle_osqp_nl.jl
. This runs OSQP using the MathOptInterface to read the model from .nl file.Expected Behavior
Both
circle_osqp.jl
andcircle_osqp_nl.jl
must give the same the same result. But, the objective is not getting detected in case ofcircle_osqp_nl.jl
due to which the objective value in the result is 0.Version and OS
Beta Was this translation helpful? Give feedback.
All reactions