Drake
LinearFeasibilityProgram Class Reference

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

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

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() [1/3]

◆ LinearFeasibilityProgram() [2/3]

◆ LinearFeasibilityProgram() [3/3]

LinearFeasibilityProgram ( ConstraintForm  constraint_form)
explicit

◆ ~LinearFeasibilityProgram()

~LinearFeasibilityProgram ( )
inlineoverride

Member Function Documentation

◆ CheckSolution()

void CheckSolution ( SolverType  solver_type) const
overridevirtual

Implements OptimizationProgram.

◆ operator=() [1/2]

LinearFeasibilityProgram& operator= ( const LinearFeasibilityProgram )
delete

◆ operator=() [2/2]


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