28 #include <bias_config.h>
29 #include <Base/Debug/Debug.hh>
30 #include <Base/Math/Vector.hh>
31 #include <Base/Math/Matrix.hh>
78 void SetNu(
double nu) { Nu_ = nu; }
81 double GetNu()
const {
return Nu_; }
127 int Compute(
int L,
int m,
const std::vector<int> &N,
132 const std::vector<double> &d,
134 std::vector<double> &w);
159 double AbsTolerance_, RelTolerance_;
167 #endif // __SOCP_hh__
int GetMaxIterations() const
Get maximal number of iterations performed by SOCP algorithm.
double GetAbsoluteTolerance() const
Get absolute tolerance used to determine convergence.
double GetRelativeTolerance() const
Get relative tolerance used to determine convergence.
Wrapper for Second-Order Cone Programming implementation, by Miguel S.
void SetNu(double nu)
Set parameter nu that controls the rate of convergence.
void SetTargetValue(double target)
Set target value used in convergence criterion only when relative tolerance given is < 0...
double GetNu() const
Get parameter nu that controls the rate of convergence.
double GetTargetValue() const
Get target value used in convergence criterion.
void SetRelativeTolerance(double tol)
Set relative tolerance used to determine convergence.
void SetAbsoluteTolerance(double tol)
Set absolute tolerance used to determine convergence.
void SetMaxIterations(int iter)
Set maximal number of iterations performed by SOCP algorithm.