Optimization Solver ships with ready-to-run example code covering linear programming (LP), mixed-integer linear programming (MILP), convex quadratic programming (QP), and semidefinite programming (SDP). Examples are available in two places: the local examples folder included in the SDK installation package, and the MindOpt cloud-based platform.
Examples folder in the SDK
The examples folder in the Optimization Solver installation directory contains sample code for multiple programming languages and modeling tools, along with input sample data files. The folder covers all four supported problem types: LP, MILP, QP, and SDP.

To download the SDK and access the examples folder, see Download and install the latest Optimization Solver SDK.
For additional use cases organized by modeling technique, see Modeling and Optimization in the MindOpt User Manual.
Examples on the MindOpt cloud-based platform
The MindOpt cloud-based platform at https://opt.aliyun.com/#/platform/case provides additional sample code that runs directly in the browser — no local installation required. The platform integrates MindOpt Algebraic Programming Language (APL), a modeling language designed to work with Optimization Solver. Use the platform to explore and debug examples interactively before integrating them into your local workflow.