This topic describes how to view the examples folder in the Optimization Solver installation directory and the sample code.
examples folder in the Optimization Solver installation directory stores a variety of programming languages, modeling tools, and input sample
data. This helps you quickly learn how to use Optimization Solver. In addition to linear programming (LP) code, the folder stores mixed-integer linear programming (MILP), convex quadratic programming (QP), and semidefinite programming (SDP) code. The following figure shows the structure of the examples folder.
You can also view use cases in MindOpt User Manual. For more information, see Modeling and Optimization. For more information about how to download an installation package of Optimization Solver, see Download and install the latest Optimization Solver SDK.
Examples in MindOpt online platform
More sample code is available on the cloud-based platform for modeling and solving optimization problems (https://opt.aliyun.com/#/platform/case). You can debug the code online. This platform is integrated with MindOpt Algebraic Programming Language (APL). The modeling language is easy to use, and you can use the modeling language to call Optimization Solver.