Skip to content

a quadratic linealization example, using python-mip library and coinOR solver

Notifications You must be signed in to change notification settings

pabloazurduy/qp-mip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linear QP code

Solving a Quadratic Problem (QP) in an open source linear solver (python-mip)

qp-mip-example. This code is more explained in this medium post

Installation

cd qp-mip
pip install .

Usage

both models in the example are in model.py module, the helper described in the article is in helpers.mip. The result plots are in the result\ folder.

some of the equations latex code used in the article are in the model.tex file

Model

model_lineal

Linearization of the quadratic function

quadratic_function_discrete

Results linear version

linear model

Results quadratic version

quadratic model

About

a quadratic linealization example, using python-mip library and coinOR solver

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published