Registry / other / coin-or-cbc

coin-or-cbc

JSON →
library2024-06-04vcpkgunverified

Cbc (Coin-or branch and cut) is an open-source mixed integer linear programming solver written in C++.

vcpkg install coin-or-cbc
INSTALL
IMPORT
SIG · COIN-OR-CBC
C
coin-or-cbc
othercppv2024-06-04
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CbcCbcModel.hpp
#include <CbcCbcModel.hpp>

Solve a MILP problem using Cbc

#include "CbcCbcModel.hpp" #include "OsiClpSolverInterface.hpp" int main() { OsiClpSolverInterface solver; // Load problem into solver... CbcModel model(solver); model.branchAndBound(); return 0; }
Debug
Known issues
gotchaRequires CoinUtils and Clp; linking may need multiple targets.
fix
Use target_link_libraries with Cbc::Cbc, Osi::Osi, Clp::Clp, and CoinUtils::CoinUtils.
affects: *
Upgrade
Version history
2024-06-04latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources

No resource links recorded.

coin-or-cbc — pip install coin-or-cbc · libregistry