top of page


beautiful MODELS

Gravity is designed in a way you can write elegant, compact models.

Example 1. Stable Set Problem

Below is a Mixed-Integer Linear formulation of the Stable Set problem.

The mathematical formulation is given below:

Click Here To See The Source Code

Implementation in Gravity

bottom of page