Client libraries

Quicopt has an official client for Python, Julia, R and Ruby. All four talk to the same service and read your key from the same environment variable, QUICOPT_API_KEY (see API keys). The Python, Julia and R clients cover every problem class the service solves; the Ruby client covers linear and quadratic models. All four are open source under Apache 2.0.

Python

pip install quicopt

You write the model in a standard front-end: install quicopt[mathopt] for OR-Tools MathOpt or quicopt[pyomo] for Pyomo. Quickstart · Reference ↗ · Source ↗

Julia

julia -e 'using Pkg; Pkg.add(["QuicoptClient", "JuMP"])'

The client is in Julia's General registry and reads models written in JuMP, which this command installs alongside it. Reference ↗ · Source ↗

R

Rscript -e 'install.packages("quicopt", repos = c("https://quicopt.r-universe.dev", "https://cloud.r-project.org"))'

The package comes from r-universe; the CRAN mirror supplies its dependencies. It is plain R, so it needs no compiler. Reference ↗ · Source ↗

Ruby

gem install quicopt

Needs Ruby 3.2 or newer. The Ruby client builds linear and quadratic models; a cubic term, a division by a variable or a higher power raises an error where you write it. Reference ↗ · Source ↗