Registry / other / coin-or-clp

coin-or-clp

JSON →
library2023-02-01vcpkgunverified

Clp (Coin-or linear programming) is an open-source linear programming solver written in C++.

vcpkg install coin-or-clp
INSTALL
IMPORT
SIG · COIN-OR-CLP
C
coin-or-clp
othercppv2023-02-01
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.

ClpSimplex.hpp
#include <ClpSimplex.hpp>

Solve a linear programming problem

#include <ClpSimplex.hpp> #include <iostream> int main() { ClpSimplex model; model.loadProblem(3, 2, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr); model.initialSolve(); std::cout << "Solved LP with objective: " << model.objectiveValue() << std::endl; return 0; }
Debug
Known issues
gotchaRequires linking with CoinUtils and Osi libraries
fix
Ensure CoinUtils and Osi are linked in CMake: target_link_libraries(... Coin::Clp Coin::CoinUtils Osi::Osi)
affects: all
Upgrade
Version history
2023-02-01latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
2
Meta
1
Amazon
1
Resources

No resource links recorded.

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