Basic Hybrid Examples#

For beginners, formulating problems as Quadratic Models can be a more intuitive introduction to solving optimization problems. Nonlinear Models may be more familiar for users with experience in non-linear programming; for many problems, these models—if effectively formulated—are expected to enable superior performance.

Nonlinear Models#

These examples solve small instances of known optimization problems using the Leap service’s hybrid nonlinear-model solver.

Helps you start using the Leap service’s hybrid nonlinear-model solver.

Quadratic Models#

These examples use the Leap service’s quadratic model solvers.

Solves a constrained problem with binary variables using the Leap service’s CQM solver.

Solves an constrained problem with integer variables using the Leap service’s CQM solver.

Solves a mixed-integer linear-programming (MILP) problem using the Leap service’s CQM solver.

Additional Examples#

For additional and more advanced examples, see the Hybrid Usage Examples section.