#include <ostream>#include <string>#include <unordered_set>#include "drake/common/fmt_ostream.h"#include "drake/common/hash.h"Classes | |
| struct | formatter< drake::solvers::ProgramAttribute > |
| struct | formatter< drake::solvers::ProgramAttributes > |
| struct | formatter< drake::solvers::ProgramType > |
Namespaces | |
| namespace | drake |
| namespace | drake::solvers |
| namespace | fmt |
Typedefs | |
| using | ProgramAttributes = std::unordered_set<ProgramAttribute, DefaultHash> |
Enumerations | |
| enum class | ProgramAttribute { kGenericCost , kGenericConstraint , kQuadraticCost , kQuadraticConstraint , kLinearCost , kLinearConstraint , kLinearEqualityConstraint , kLinearComplementarityConstraint , kLorentzConeConstraint , kRotatedLorentzConeConstraint , kPositiveSemidefiniteConstraint , kExponentialConeConstraint , kL2NormCost , kBinaryVariable , kCallback } |
| enum class | ProgramType { kLP , kQP , kSOCP , kSDP , kGP , kCGP , kMILP , kMIQP , kMISOCP , kMISDP , kQuadraticCostConicConstraint , kNLP , kLCP , kUnknown } |
| A coarse categorization of the optimization problem based on the type of constraints/costs/variables. More... | |
Functions | |
| bool | AreRequiredAttributesSupported (const ProgramAttributes &required, const ProgramAttributes &supported, std::string *unsupported_message=nullptr) |
Returns true iff required is a subset of supported. | |
| std::string | to_string (const ProgramAttribute &) |
| std::ostream & | operator<< (std::ostream &, const ProgramAttribute &) |
| std::string | to_string (const ProgramAttributes &) |
| std::ostream & | operator<< (std::ostream &, const ProgramAttributes &) |
| std::string | to_string (const ProgramType &) |
| std::ostream & | operator<< (std::ostream &, const ProgramType &) |