public class QuadraticSolverCoordinateLP extends QuadraticSolver
Omega
constraints, cplex, linearCoefficients, linearPart, quadraticCoefficients, quadraticPart, x
Constructor and Description |
---|
QuadraticSolverCoordinateLP(double Omega,
double[] linearObjective)
Constructor by parameters.
|
QuadraticSolverCoordinateLP(double Omega,
double[] linearObjective,
ilog.cplex.IloCplex cplex,
ilog.concert.IloNumVar[] x,
ilog.concert.IloRange[] constraints,
ilog.concert.IloLinearNumExpr linearPart,
ilog.concert.IloQuadNumExpr quadraticPart)
Constructor by parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
solve()
Solves the problem.
|
changeObjective, changeObjective, getIterations, getLowerBound, getQPs, getRootRelaxation, getSol, getTime, getUpperBound, setTolerance, solve, solveLP, solvePrimal, start, warmStart
setConfiguration
public QuadraticSolverCoordinateLP(double Omega, double[] linearObjective) throws ilog.concert.IloException
Omega
- Coefficient of the nonlinear term. linearObjective
- Coefficients of the linear part of the objective. ilog.concert.IloException
- If an exception occurs.public QuadraticSolverCoordinateLP(double Omega, double[] linearObjective, ilog.cplex.IloCplex cplex, ilog.concert.IloNumVar[] x, ilog.concert.IloRange[] constraints, ilog.concert.IloLinearNumExpr linearPart, ilog.concert.IloQuadNumExpr quadraticPart)
Omega
- Coefficient of the nonlinear term. linearObjective
- Coefficients of the linear part of the objective. cplex
- The CPLEX object. x
- The variables. constraints
- The constraints. linearPart
- The linear part. quadraticPart
- The quadratic part.public void solve() throws ilog.concert.IloException
CplexSolver
solve
in class QuadraticSolver
ilog.concert.IloException