You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5e191e8
Browse filesBrowse the repository at this point in the historyBrowse files
[Nonlinear] support copy_to into ModelWithQuad and ModelWithOracles (#3157)
* [Nonlinear] support copy_to into ModelWithQuad and ModelWithOracles
Nonlinear.Model accepts its constraints and objective incrementally, the
variables being owned by the outer layer, so it supports the incremental
interface. ModelWithQuad and ModelWithOracles keep forwarding the trait to
their inner model since they forward add_constraint to it. Add MOI.empty!
for ModelWithQuad, needed by default_copy_to, and define MOI.copy_to for
both layers. This lets Nonlinear.model(backend) be filled with MOI.copy_to
and the bounds be queried back with MOI.Utilities.variable_bounds.
* remove comm
* Cover copy_to into ModelWithOracles
0 commit comments