-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for RELP #13
Comments
cc @vandenheuvel in case you are willing to help. |
I don't think you need to add a new variable type. But you need to implement all existing operations on variables and expressions with these numbers, and you need to make expression generic to account for the different coefficients it will be able to hold. It will be quite a major change. https://github.com/rust-or/good_lp/blob/main/src/expression.rs If you do it, please put it behind a feature flag, so that it does not add a new mandatory dependency. |
I haven't prioritized a nice API yet, so I very much welcome integration into this project. I don't have a lot of capacity at the moment and diving into the inner-workings of |
Hello ! |
I am using
good_lp
(at the moment withminilp
). I am interested in exact solutions for rational numbers, and therefore I would like to experiment withrelp
. This is a request to addrelp
, or guide me doing so.If I understand correctly, a new "type" of
good_lp::variable::VariableDefinition
(other than the existing types "continuous" and "integer") would be required. Generally, I am not sure how to deal with the discrepancy off64
vs. the number types inrelp_num
whichrelp
uses.The text was updated successfully, but these errors were encountered: