fadi-alkhoury / coin-or-cbc-with-cmake

A port of coin-or/Cbc with added CMake support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COIN-OR CBC with Cmake support

This repository includes a port of coin-or/Cbc with added CMake support in the /Cbc folder.

CBC is an open-source MILP solver. It uses many of the COIN-OR components and is designed to be used with CLP. It is available as a library and as a standalone solver.

How to install

cd Cbc
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local/
make -j6
make install

How to use in other projects

find_package(coinorcbc REQUIRED)
target_link_libraries(${YOUR_TARGET_NAME}
PRIVATE
    libCbc libCgl libOsiClp libOsi libClp libCoinUtils
)

About

A port of coin-or/Cbc with added CMake support

License:MIT License


Languages

Language:C++ 82.4%Language:Shell 9.0%Language:Makefile 5.7%Language:CMake 1.2%Language:M4 0.9%Language:C 0.8%Language:Python 0.0%Language:Awk 0.0%