Limbo 3.5.4
Loading...
Searching...
No Matches
test_CplexApi.cpp File Reference

Test CPLEX API limbo::solvers::CplexLinearApi. More...

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

Go to the source code of this file.

Functions

int main ()
 main function

Detailed Description

Test CPLEX API limbo::solvers::CplexLinearApi.

Author
Yibo Lin
Date
Aug 2023

Definition in file test_CplexApi.cpp.

Function Documentation

◆ main()

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_CplexApi.cpp.