Replies: 2 comments 1 reply
-
I would prefer an MOI interface. I would propose that we: keep the existing interface, suitably altered to support IPs and/or to cater to the needs of folks who intend to use it directly. Then, we can build an MOI wrapper directly on top of this. Why would a user want to interact with the crushes? Also, having an interface to configure the presolve routines is a priority for me. Also, cc @dpo |
Beta Was this translation helpful? Give feedback.
-
For starters: MOI interfaceI'm thinking we could have a thin wrapper, which would do the following
The user side may look like my_model = generate_some_model()
# Perform presolve; a new MOI.ModelLike is returned
presolved_model, precrush, postcrush = MOP.presolve(my_model)
# Copy presolve_model into an actual optimizer
my_optimizer = XXX.Optimizer()
MOI.optimize!(my_optimizer, presolved_model)
# Perform post-crush: open question Some remarks:
|
Beta Was this translation helpful? Give feedback.
-
(I'm trying out this new GH feature)
cc @joehuchette @frapac
Q: What should the high-level interface look like?
Some directions:
Beta Was this translation helpful? Give feedback.
All reactions