-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
@amontoison @frapac @ocots @jbcaillau @PierreMartinon
There might be an issue due to the order in which we set up variables with OC
.
The sparsity pattern and x0 that we obtain with OC
differ from those we get with JuMP.
In this file, we can see that for the rocket problem, we have:
With JuMP : x0 = [x1[1],x2[1],x3[1],x1[2],x2[2],x3[2],u,v]
With OC : x0 = [x1[1],x1[2],x2[1],x2[2],x3[1],x3[2],u,v]
.
The problem is that once the problem is defined, I don't think that we can change the order of the variables.
We can't inject JuMP's x0 into the nlp of OC because that would provide the wrong initial guess for the variables.
Metadata
Metadata
Assignees
Labels
No labels