Conversation
|
Your PR no longer requires formatting changes. Thank you for your contribution! |
|
@michel2323 Do you know how we can adapt the objective function to return a vector of |
|
Right. Forgot about the primal. How about the constraints? I'll give it a try. Should be easy. |
|
For the constraints, we want to a strided API where the cosntraints of each scenarios are stored in the same vector. |
|
For the objective, I've added the API below. This should be aligned with what be discussed back here. obj(model::TwoStageExaModel, x_global, s) → scalarEvaluate the objective contribution of scenario Per-scenario terms are The invariant |
|
We decided on a vectorized API |
a17fa88 to
019aa55
Compare
cc @michel2323