when retrieving duals of linear and quadratic constraints, I noticed that methods
interpret the indices as the indices in the subset of only quadratic constraints, or, if I want a linear-constraint dual, similar. For a given constraint in the model, how can I determine whether it is linear or quadratic and, possibly, its index to be used? Or, what is an efficient way to obtain duals for all constraints (linear and quadratic)?
Please sign in to leave a comment.