Registry / utility / coin-or-osi

coin-or-osi

JSON →
library2024-04-16vcpkgunverified

Osi (Open Solver Interface) provides an abstract base class to a generic linear programming (LP) solver, along with derived classes for specific solvers

vcpkg install coin-or-osi
INSTALL
IMPORT
SIG · COIN-OR-OSI
C
coin-or-osi
utilitycppv2024-04-16
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.

OsiSolverInterface.hpp
#include <OsiSolverInterface.hpp>

Creates an Osi solver interface using CLP backend

#include <OsiSolverInterface.hpp> #include <iostream> int main() { OsiSolverInterface *solver = new OsiClpSolverInterface(); std::cout << "Created Osi solver interface" << std::endl; delete solver; return 0; }
Debug
Known issues
gotchaRequires a specific solver backend (e.g., Clp, Cbc) to be installed
fix
Link against the appropriate solver library (e.g., Clp::Clp) and include its headers
affects: all
Upgrade
Version history
2024-04-16latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

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

No resource links recorded.

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