Drake
MathematicalProgramSolverInterface Class Referenceabstract

Interface used by implementations of individual solvers. More...

#include <drake/solvers/mathematical_program_solver_interface.h>

Public Member Functions

 MathematicalProgramSolverInterface ()=default
 
virtual ~MathematicalProgramSolverInterface ()=default
 
virtual bool available () const =0
 Returns true iff this solver was enabled at compile-time. More...
 
virtual SolutionResult Solve (MathematicalProgram &prog) const =0
 Sets values for the decision variables on the given MathematicalProgram prog, or: More...
 
virtual SolverId solver_id () const =0
 Returns the identifier of this solver. More...
 
Does not allow copy, move, or assignment
 MathematicalProgramSolverInterface (const MathematicalProgramSolverInterface &)=delete
 
MathematicalProgramSolverInterfaceoperator= (const MathematicalProgramSolverInterface &)=delete
 
 MathematicalProgramSolverInterface (MathematicalProgramSolverInterface &&)=delete
 
MathematicalProgramSolverInterfaceoperator= (MathematicalProgramSolverInterface &&)=delete
 

Detailed Description

Interface used by implementations of individual solvers.

Constructor & Destructor Documentation

◆ MathematicalProgramSolverInterface() [1/3]

◆ MathematicalProgramSolverInterface() [2/3]

◆ MathematicalProgramSolverInterface() [3/3]

◆ ~MathematicalProgramSolverInterface()

virtual ~MathematicalProgramSolverInterface ( )
virtualdefault

Member Function Documentation

◆ available()

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ Solve()

virtual SolutionResult Solve ( MathematicalProgram prog) const
pure virtual

◆ solver_id()


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