artisynth.core.inverse
Class DantzigQP
java.lang.Object
artisynth.core.inverse.DantzigQP
- All Implemented Interfaces:
- QPSolver
public class DantzigQP
- extends java.lang.Object
- implements QPSolver
Method Summary |
void |
setConstraints(double[][] A,
double[] b,
double[] lb,
double[] ub)
|
void |
setSize(int n,
int m)
|
void |
solve(double[] x,
double[][] Q,
double[] f,
double[] x0)
|
void |
solve(double[] x,
double[][] Q,
double[] f,
double[][] A,
double[] b,
double[] lb,
double[] ub,
double[] x0)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DantzigQP
public DantzigQP()
solve
public void solve(double[] x,
double[][] Q,
double[] f,
double[][] A,
double[] b,
double[] lb,
double[] ub,
double[] x0)
throws java.lang.Exception
- Specified by:
solve
in interface QPSolver
- Throws:
java.lang.Exception
solve
public void solve(double[] x,
double[][] Q,
double[] f,
double[] x0)
throws java.lang.Exception
- Throws:
java.lang.Exception
setConstraints
public void setConstraints(double[][] A,
double[] b,
double[] lb,
double[] ub)
setSize
public void setSize(int n,
int m)