Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
test_GurobiApi.cpp File Reference

Test Gurobi API limbo::solvers::GurobiLinearApi. More...

#include <iostream>
#include <limbo/solvers/api/GurobiApi.h>

Go to the source code of this file.

Functions

int main ()
 main function More...
 

Detailed Description

Test Gurobi API limbo::solvers::GurobiLinearApi.

Author
Yibo Lin
Date
Mar 2017

Definition in file test_GurobiApi.cpp.

Function Documentation

int main ( )

main function

Solve following problem,

\begin{eqnarray*} & min. & x_1 + x_2 + x_3 + x_4, \\ & s.t. & x_1 - x_2 \ge 0.5, \\ & & x_4 - x_3 \ge 0.1, \\ & & x_2 - x_3 \ge 0.2. \end{eqnarray*}

Returns
0

Definition at line 21 of file test_GurobiApi.cpp.