DART  6.10.1
NloptSolver.cpp File Reference
#include <memory>
#include "dart/optimizer/nlopt/NloptSolver.hpp"
#include <Eigen/Dense>
#include "dart/common/Console.hpp"
#include "dart/common/StlHelpers.hpp"
#include "dart/optimizer/Function.hpp"
#include "dart/optimizer/Problem.hpp"

Namespaces

 dart
 
 dart::optimizer
 

Macros

#define NLOPTSOLVER_ALGORITHM_DART_TO_NLOPT(alg_name)
 
#define NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART(alg_name)
 

Functions

static std::vector< double > dart::optimizer::convertToStd (const Eigen::VectorXd &v)
 
static Eigen::VectorXd dart::optimizer::convertToEigen (const std::vector< double > &v)
 

Macro Definition Documentation

◆ NLOPTSOLVER_ALGORITHM_DART_TO_NLOPT

#define NLOPTSOLVER_ALGORITHM_DART_TO_NLOPT (   alg_name)
Value:
case alg_name: \
return nlopt::algorithm::alg_name;

◆ NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART

#define NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART (   alg_name)
Value:
case nlopt::algorithm::alg_name: \
return alg_name;