예제 #1
0
파일: IpoptSolver.cpp 프로젝트: ayonga/dart
//==============================================================================
std::shared_ptr<Solver> IpoptSolver::clone() const
{
  std::shared_ptr<IpoptSolver> newSolver(
        new IpoptSolver(getSolverProperties(), mIpoptApp->clone()));

  return newSolver;
}
예제 #2
0
//==============================================================================
GradientDescentSolver::Properties
GradientDescentSolver::getGradientDescentProperties() const
{
  return GradientDescentSolver::Properties(getSolverProperties(), mGradientP);
}