AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | Protected Attributes | List of all members
aliceVision::linearProgramming::ISolver Class Referenceabstract

#include <ISolver.hpp>

Inheritance diagram for aliceVision::linearProgramming::ISolver:
aliceVision::linearProgramming::MOSEKSolver aliceVision::linearProgramming::OSIXSolver< SOLVERINTERFACE >

Public Member Functions

 ISolver (int nbParams)
 
virtual bool setup (const LPConstraints &constraints)=0
 Setup constraint for the given library.
 
virtual bool setup (const LPConstraintsSparse &constraints)=0
 
virtual bool solve ()=0
 Setup the feasibility and found the solution that best fit the constraint.
 
virtual bool getSolution (std::vector< double > &estimatedParams)=0
 Get back solution. Call it after solve.
 

Protected Attributes

int _nbParams
 

Detailed Description

Generic LP solver (Linear Programming) It's an interface to setup constraint and objective of a Linear Program. Embed constraint setup, problem solving, and parameters getter.


The documentation for this class was generated from the following file: