8000 GitHub - ecward/cppipm: C++ implementation of the Interior Point Methods (CPPIPM)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ecward/cppipm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.8%
  • CMake 2.2%
0