Registry / utility / osi
library0.108.6vcpkgunverified

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 osi
INSTALL
IMPORT
SIG · OSI
O
osi
utilitycppv0.108.6
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
0.108.6latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

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

No resource links recorded.

osi — pip install osi · libregistry