Forum Discussion

FICO's avatar
FICO
Community Manager
1 month ago

How can I use ODH for solving a MIP model using Xpress Python API?

Hi everyone,

I want to play a bit with ODH for Xpress Solver. I did run ODH from the command line but now I want to integrate it in the whole pipeline of a Python program. What should I import? What are the functions/methods to use? Could you provide with a simple Python code snippet?

Are there any example I could use to understand the minimum steps to launch ODH with the Xpress Solver?

Thanks in advance!

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    Dear Emanuele,

    since the question seems more about the ODH than the Xpress API, it might be best to contact Optimization Direct for support in this case.

  • FICO's avatar
    FICO
    Community Manager

    I will try, thank you Tristan!