Skip to content

Indices of Jacobian and Hessians? #428

Answered by tmigot
NLaws asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @NLaws ! Sorry for the late reply. You had the right intuition, the order of the variables is the same as JuMP.all_variables. The order of constraints might be slightly different, the linear ones appear first, and then the nonlinear ones.

We should probably add more facilities to access the variables from the NLP model version of JuMP using the names given in the model. I opened two issues following your question:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amontoison
Comment options

Answer selected by NLaws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants