GithubHelp home page GithubHelp logo

osqp / osqp-python Goto Github PK

View Code? Open in Web Editor NEW
102.0 8.0 39.0 28.5 MB

Python interface for OSQP

Home Page: https://osqp.org/

License: Apache License 2.0

C 0.73% Python 94.74% CMake 1.07% Jinja 3.46%
python optimization solver numerical-optimization quadratic-programming

osqp-python's Introduction

Python interface for OSQP

https://github.com/oxfordcontrol/qdldl-python/workflows/Build/badge.svg?branch=master

Python wrapper for OSQP: the Operator Splitting QP Solver.

The OSQP (Operator Splitting Quadratic Program) solver is a numerical optimization package for solving problems in the form

minimize        0.5 x' P x + q' x

subject to      l <= A x <= u

where x in R^n is the optimization variable. The objective function is defined by a positive semidefinite matrix P in S^n_+ and vector q in R^n. The linear constraints are defined by matrix A in R^{m x n} and vectors l in R^m U {-inf}^m, u in R^m U {+inf}^m.

Installation

To install osqp for python, make sure that you're using a recent version of pip (pip install --upgrade pip) and then use pip install osqp.

To install osqp from source, clone the repository (git clone --recurse-submodules https://github.com/osqp/osqp-python) and run pip install . from inside the cloned folder.

Documentation

The interface is documented here.

Packaging

This repository performs the tests and builds the pypi wheels. Conda packages are on conda-forge.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.