Drake
Drake C++ Documentation
sdpa_free_format.h File Reference
#include <string>
#include <unordered_map>
#include <variant>
#include <vector>
#include <Eigen/Core>
#include <Eigen/Sparse>
#include "drake/common/drake_copyable.h"
#include "drake/common/fmt.h"
#include "drake/common/type_safe_index.h"
#include "drake/solvers/mathematical_program.h"
Include dependency graph for sdpa_free_format.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 drake
 
 drake::solvers
 

Enumerations

enum  RemoveFreeVariableMethod { kTwoSlackVariables = 1, kNullspace = 2, kLorentzConeSlack = 3 }
 SDPA format doesn't accept free variables, namely the problem it solves is in this form P1. More...
 

Functions

std::string to_string (const RemoveFreeVariableMethod &)
 
bool GenerateSDPA (const MathematicalProgram &prog, const std::string &file_name, RemoveFreeVariableMethod method=RemoveFreeVariableMethod::kNullspace)
 SDPA is a format to record an SDP problem. More...