Developer Hub

Optimization from Python, Julia, R and Ruby

Build the model in the language you already use and solve LP, MILP, NLP and QUBO problems through one API. No solver to configure, no license file.

qubo.py
import numpy as np
import pyomo.environ as pyo
from quicopt import Client

# N binary variables, QUBO matrix Q — given
m = pyo.ConcreteModel()
m.x = pyo.Var(range(N), domain=pyo.Binary)
x = np.array([m.x[i] for i in range(N)])
m.obj = pyo.Objective(expr=x @ Q @ x, sense=pyo.minimize)

client = Client()             # key from QUICOPT_API_KEY
result = client.solve(m)
result.objective              # minimized xᵀQx

From zero to a solved model

  1. 1

    Sign up

    Create a free account. Your API key arrives by email.

    Sign up free →
  2. 2

    Install

    One package for Python, Julia, R or Ruby. Set QUICOPT_API_KEY.

    Client libraries →
  3. 3

    Solve

    Build a model in the tools you know and hand it to one solve call.

    Quickstart →

Four official clients

All open source under Apache 2.0, all reading your key from QUICOPT_API_KEY.

Python

Models in OR-Tools MathOpt or Pyomo

Julia

Models in JuMP

R

Models in the client’s own model

Ruby

Models in the client’s own model

One API for every class

Each class has a runnable model with its real output. Black-box objectives are coming soon.

Examples by problem class →

Benchmarks →

What Quicopt reaches on public problem sets (LABS, Gset max-cut, maximum independent set) against the published reference results.