sympiler / smp-format

Sparse Mathematical Programming Format.

Home Page:http://nasoq.github.io/smp.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMP format

This repository is for converting different formats of QP problems. The different formats that are supported are explained in the SMP repository in NASOQ docs.

For how to use the API, please look at ie2smp.cpp, bounded2smp.cpp and smp_convertor.cpp.

For ease of use, ie2smp has a command-line interface. One input example is shown below:

./build/ie2smp -p quadratic.mtx -q linear.mtx -a EqualityMatrix.mtx -b EqualityBounds.mtx -c InequalityMatrix.mtx -d InequalityBounds.mtx -o OutputSMP.yml

Similarly bounded2smp also has a command line interface:

./build/ie2smp -p quadratic.mtx -q linear.mtx -a ConstraintMatrix.mtx -l LowerBounds.mtx -u UpperBounds.mtx -d -o OutputSMP.yml

About

Sparse Mathematical Programming Format.

http://nasoq.github.io/smp.html

License:MIT License


Languages

Language:C++ 84.4%Language:Shell 15.5%Language:CMake 0.2%