-
Notifications
You must be signed in to change notification settings - Fork 74
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 from_mps_file function for building CQMs #1228
Labels
feature-request/enhancement
New feature or request
Comments
Agree, we should have one. |
Do we have an official recommendation in the mean time? AFAIK python-mip works pretty well. import dimod
import mip
model = mip.Model()
model.read('example.mps')
model.write('example.lp')
cqm = dimod.lp.load(open('example.lp', 'r')) Though of course doing it directly with Ocean would be preferable. |
I don't know which existing packages work well and which have bugs to be honest! |
I have also been seeing requests for mps file readers from several customers and prospects. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Application
We have a function
from_lp_file
. Would be good to add one asfrom_mps_file
, as some databases provide problems in this format. Users are currently using 3rd party tools to do this conversion, and some have bugs.The text was updated successfully, but these errors were encountered: