ecward / cppipm

C++ implementation of the Interior Point Methods (CPPIPM)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cppipm

C++ implementation of the Interior Point Method (CPPIPM)

Fork of https://github.com/YimingYAN/cppipm to allow for simple building with CMake.

Also removed eigen from this repo.

Requirements

  • Eigen, "a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms". Eigen forms the linear algebra core of this software.

Compiling

mkdir build
cd build
cmake..
make 

Run tests

make run_tests

How to use

QP:

  Algorithm* test = new cppipm(Q,A,b,c); test -> solve();

LP:

  Algorithm* test = new cppipm(A,b,c);  test -> solve(); 

Or:

  Algorithm* test = new cppipm(otherProblem);  test -> solve();

Example

See test.cpp


Yiming Yan

About

C++ implementation of the Interior Point Methods (CPPIPM)

License:Other


Languages

Language:C++ 97.8%Language:CMake 2.2%