Drake
LinearFeasibilityProgram Class Reference

Test a simple linear programming problem with zero cost, i.e. More...

#include <drake/solvers/test/linear_program_examples.h>

Inheritance diagram for LinearFeasibilityProgram:
[legend]
Collaboration diagram for LinearFeasibilityProgram:
[legend]

Public Member Functions

 LinearFeasibilityProgram (ConstraintForm constraint_form)
 
 ~LinearFeasibilityProgram () override
 
void CheckSolution (SolverType solver_type) const override
 
Does not allow copy, move, or assignment
 LinearFeasibilityProgram (const LinearFeasibilityProgram &)=delete
 
LinearFeasibilityProgramoperator= (const LinearFeasibilityProgram &)=delete
 
 LinearFeasibilityProgram (LinearFeasibilityProgram &&)=delete
 
LinearFeasibilityProgramoperator= (LinearFeasibilityProgram &&)=delete
 
- Public Member Functions inherited from OptimizationProgram
 OptimizationProgram (CostForm cost_form, ConstraintForm constraint_form)
 
virtual ~OptimizationProgram ()
 
CostForm cost_form () const
 
ConstraintForm constraint_form () const
 
MathematicalProgramprog () const
 
double GetSolverSolutionDefaultCompareTolerance (SolverType solver_type) const
 
void RunProblem (MathematicalProgramSolverInterface *solver)
 
 OptimizationProgram (const OptimizationProgram &)=delete
 
OptimizationProgramoperator= (const OptimizationProgram &)=delete
 
 OptimizationProgram (OptimizationProgram &&)=delete
 
OptimizationProgramoperator= (OptimizationProgram &&)=delete
 

Detailed Description

Test a simple linear programming problem with zero cost, i.e.

a feasibility problem 0 <= x0 + 2x1 + 3x2 <= 10 -inf <= x1 - 2x2 <= 3 -1 <= 0x0+ 0x1 + 0x2 <= 0 x1 >= 1

Constructor & Destructor Documentation

LinearFeasibilityProgram ( ConstraintForm  constraint_form)
explicit

Here is the call graph for this function:

~LinearFeasibilityProgram ( )
inlineoverride

Here is the call graph for this function:

Member Function Documentation

void CheckSolution ( SolverType  solver_type) const
overridevirtual

Implements OptimizationProgram.

Here is the call graph for this function:

Here is the caller graph for this function:

LinearFeasibilityProgram& operator= ( const LinearFeasibilityProgram )
delete

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