4. Command-Line & APIΒΆ

In this chapter, we first introduce how to run the MindOpt command-line tool to solve optimization problems in MPS/LP format. Following that, we will discuss how to use the MindOpt API in C/C++/Python/Java languages to solve optimization problems in MPS/LP format.

Note

In this chapter, <MDOHOME>, <VERSION>, and <PLATFORM> refer to the installation directory, version number, and operating system platform of MindOpt. For example:

macOS: /Users/username/mindopt/2.0.0/osx64-x86
Linux: /home/username/mindopt/2.0.0/linux64-x86
Windows: C:/mindopt/2.0.0/win64-x86