#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 | |
drake | |
drake::solvers | |
fmt | |
Typedefs | |
using | ProgramAttributes = std::unordered_set< ProgramAttribute, DefaultHash > |
Enumerations | |
enum | ProgramAttribute { kGenericCost, kGenericConstraint, kQuadraticCost, kQuadraticConstraint, kLinearCost, kLinearConstraint, kLinearEqualityConstraint, kLinearComplementarityConstraint, kLorentzConeConstraint, kRotatedLorentzConeConstraint, kPositiveSemidefiniteConstraint, kExponentialConeConstraint, kL2NormCost, kBinaryVariable, kCallback } |
enum | 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 . More... | |
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 &) |