A C E G H I L M N O P R S T V

A

AbstractSolver - Class in net.sf.javailp
The AbstractSolver contains a map for the parameters.
AbstractSolver() - Constructor for class net.sf.javailp.AbstractSolver
 
AbstractSolverFactory - Class in net.sf.javailp
The AbstractSolverFactory contains a map for the parameters and sets these parameters for each created Solver.
AbstractSolverFactory() - Constructor for class net.sf.javailp.AbstractSolverFactory
 
add(Number, Object) - Method in class net.sf.javailp.Linear
Adds an element to the linear expression.
add(Term...) - Method in class net.sf.javailp.Linear
Adds terms.
add(Constraint) - Method in class net.sf.javailp.Problem
Adds a constraint.
add(Linear, Operator, Number) - Method in class net.sf.javailp.Problem
Adds a constraint.
add(Linear, String, Number) - Method in class net.sf.javailp.Problem
Adds a constraint.
add(String, Linear, Operator, Number) - Method in class net.sf.javailp.Problem
Adds a constraint.
add(String, Linear, String, Number) - Method in class net.sf.javailp.Problem
Adds a constraint.
addConstraint(int[], int[], String, int) - Method in class net.sf.javailp.minisat.MiniSat
Adds a linear constraint.
addHook(SolverCPLEX.Hook) - Method in class net.sf.javailp.SolverCPLEX
Adds a hook.
addHook(SolverGLPK.Hook) - Method in class net.sf.javailp.SolverGLPK
Adds a hook.
addHook(SolverGurobi.Hook) - Method in class net.sf.javailp.SolverGurobi
Adds a hook.
addHook(SolverLpSolve.Hook) - Method in class net.sf.javailp.SolverLpSolve
Adds a hook.
addHook(SolverMosek.Hook) - Method in class net.sf.javailp.SolverMosek
Adds a hook.
addHook(SolverSAT4J.Hook) - Method in class net.sf.javailp.SolverSAT4J
Adds a hook.

C

call(IloCplex, Map<Object, IloNumVar>) - Method in interface net.sf.javailp.SolverCPLEX.Hook
This method is called once before the optimization and allows to change some internal settings.
call(glp_prob, glp_smcp, glp_iocp, Map<Object, Integer>) - Method in interface net.sf.javailp.SolverGLPK.Hook
This method is called once before the optimization and allows to change some internal settings.
call(GRBEnv, GRBModel, Map<Object, GRBVar>, Map<GRBVar, Object>, Problem) - Method in interface net.sf.javailp.SolverGurobi.Hook
This method is called once before the optimization and allows to change some internal settings.
call(LpSolve, Map<Object, Integer>) - Method in interface net.sf.javailp.SolverLpSolve.Hook
This method is called once before the optimization and allows to change some internal settings.
call(Env, Task, Map<Object, Integer>) - Method in interface net.sf.javailp.SolverMosek.Hook
This method is called once before the optimization and allows to change some internal settings.
call(PBSolverResolution, Map<Object, Integer>) - Method in interface net.sf.javailp.SolverSAT4J.Hook
This method is called once before the optimization and allows to change some internal settings.
clear() - Method in class net.sf.javailp.Linear
Removes all elements.
Constraint - Class in net.sf.javailp
The class Constraint represent a linear constraint.
Constraint(Linear, Operator, Number) - Constructor for class net.sf.javailp.Constraint
Constructs a Constraint.
Constraint(Linear, String, Number) - Constructor for class net.sf.javailp.Constraint
Constructs a Constraint.
Constraint(String, Linear, Operator, Number) - Constructor for class net.sf.javailp.Constraint
Constructs a Constraint.
Constraint(String, Linear, String, Number) - Constructor for class net.sf.javailp.Constraint
Constructs a Constraint.
containsVar(Object) - Method in interface net.sf.javailp.Result
Returns true if the result contains the variable.
containsVar(Object) - Method in class net.sf.javailp.ResultImpl
 

E

equals(Object) - Method in class net.sf.javailp.ValueObject
 
evaluate(Map<Object, Number>) - Method in class net.sf.javailp.Linear
Evaluates the value of the linear expression.

G

get() - Method in class net.sf.javailp.AbstractSolverFactory
 
get(int) - Method in class net.sf.javailp.Linear
Returns the i-th Term.
get(Object) - Method in interface net.sf.javailp.Result
Returns the primal value of the variable.
get(Object) - Method in class net.sf.javailp.ResultImpl
 
get() - Method in interface net.sf.javailp.SolverFactory
Returns a new solver instance.
getBoolean(Object) - Method in interface net.sf.javailp.Result
Returns the primal value for a specific var as a boolean.
getBoolean(Object) - Method in class net.sf.javailp.ResultImpl
 
getCoefficient() - Method in class net.sf.javailp.Term
Returns the coefficient.
getCoefficients() - Method in class net.sf.javailp.Linear
Returns the coefficients.
getConstraints() - Method in class net.sf.javailp.Problem
Returns the constraints.
getConstraintsCount() - Method in class net.sf.javailp.Problem
Returns the number of objectives.
getDualValue(Object) - Method in interface net.sf.javailp.Result
Returns the dual value of the variable.
getDualValue(Object) - Method in class net.sf.javailp.ResultImpl
 
getLhs() - Method in class net.sf.javailp.Constraint
Returns the left-hand-side linear expression.
getName() - Method in class net.sf.javailp.Constraint
Returns the name of the constraint.
getObjective() - Method in class net.sf.javailp.Problem
Returns the objective function.
getObjective() - Method in interface net.sf.javailp.Result
Returns the objective value.
getObjective() - Method in class net.sf.javailp.ResultImpl
 
getOperator() - Method in class net.sf.javailp.Constraint
Returns the Boolean operator.
getOptType() - Method in class net.sf.javailp.Problem
Returns the optimization type.
getParameters() - Method in class net.sf.javailp.AbstractSolver
 
getParameters() - Method in class net.sf.javailp.AbstractSolverFactory
 
getParameters() - Method in interface net.sf.javailp.Solver
Returns all set parameters.
getParameters() - Method in interface net.sf.javailp.SolverFactory
Returns all set parameters.
getPrimalValue(Object) - Method in interface net.sf.javailp.Result
Returns the primal value of the variable.
getPrimalValue(Object) - Method in class net.sf.javailp.ResultImpl
 
getRhs() - Method in class net.sf.javailp.Constraint
Returns the right-hand-side number.
getVariable() - Method in class net.sf.javailp.Term
Returns the variable.
getVariables() - Method in class net.sf.javailp.Linear
Returns the variables.
getVariables() - Method in class net.sf.javailp.Problem
Returns the variables.
getVariablesCount() - Method in class net.sf.javailp.Problem
Returns the number of variables.
getVarLowerBound(Object) - Method in class net.sf.javailp.Problem
Returns the lower bound of a variable.
getVarType(Object) - Method in class net.sf.javailp.Problem
Returns the variable type.
getVarUpperBound(Object) - Method in class net.sf.javailp.Problem
Returns the upper bound of a variable.

H

hashCode() - Method in class net.sf.javailp.ValueObject
 

I

isInt() - Method in enum net.sf.javailp.VarType
 
iterator() - Method in class net.sf.javailp.Linear
 

L

Linear - Class in net.sf.javailp
The class Linear is a linear expression consisting of variables and their coefficients.
Linear() - Constructor for class net.sf.javailp.Linear
Constructs an empty linear expression.
Linear(List<Number>, List<Object>) - Constructor for class net.sf.javailp.Linear
Constructs a linear expression with the predefined variables and their coefficients.
Linear(Iterable<Term>) - Constructor for class net.sf.javailp.Linear
Constructs a linear expression from the terms.

M

MiniSat - Class in net.sf.javailp.minisat
The MiniSat is the JNI class for the MiniSat+ solver.
MiniSat() - Constructor for class net.sf.javailp.minisat.MiniSat
Construct a MiniSat instance.

N

net.sf.javailp - package net.sf.javailp
Provides the classes for the problem and solvers.
net.sf.javailp.minisat - package net.sf.javailp.minisat
Provides the classes for the MiniSat+ JNI.

O

okay() - Method in class net.sf.javailp.minisat.MiniSat
Returns true if no contradiction appeared so far.
Operator - Enum in net.sf.javailp
The Type of Boolean operator.
OptType - Enum in net.sf.javailp
The optimization type.

P

POSTSOLVE - Static variable in interface net.sf.javailp.Solver
Identifier for the post-solve value.
Problem - Class in net.sf.javailp
The class Problem represents a linear problem consisting of multiple constraints and up to one objective function.
Problem() - Constructor for class net.sf.javailp.Problem
Constructs a Problem.
put(Object, Number) - Method in interface net.sf.javailp.Result
Sets the primal value of the variable.
put(Object, Number) - Method in class net.sf.javailp.ResultImpl
 
putDualValue(Object, Number) - Method in interface net.sf.javailp.Result
Sets the dual value of the variable.
putDualValue(Object, Number) - Method in class net.sf.javailp.ResultImpl
 
putPrimalValue(Object, Number) - Method in interface net.sf.javailp.Result
Sets the primal value of the variable.
putPrimalValue(Object, Number) - Method in class net.sf.javailp.ResultImpl
 

R

removeHook(SolverCPLEX.Hook) - Method in class net.sf.javailp.SolverCPLEX
Removes a hook
removeHook(SolverGLPK.Hook) - Method in class net.sf.javailp.SolverGLPK
Removes a hook
removeHook(SolverGurobi.Hook) - Method in class net.sf.javailp.SolverGurobi
Removes a hook
removeHook(SolverLpSolve.Hook) - Method in class net.sf.javailp.SolverLpSolve
Removes a hook
removeHook(SolverMosek.Hook) - Method in class net.sf.javailp.SolverMosek
Removes a hook
removeHook(SolverSAT4J.Hook) - Method in class net.sf.javailp.SolverSAT4J
Removes a hook
reset() - Method in class net.sf.javailp.minisat.MiniSat
Resets the decision heuristic, i.e., the phases and activities of the variables.
Result - Interface in net.sf.javailp
The class Result is a result of a Problem.
ResultImpl - Class in net.sf.javailp
The class ResultImpl is a Map based implementation of the Result.
ResultImpl() - Constructor for class net.sf.javailp.ResultImpl
Constructs a ResultImpl for a Problem without objective function.
ResultImpl(Number) - Constructor for class net.sf.javailp.ResultImpl
Constructs a ResultImpl for a Problem with objective function and the optimal value.
ResultImpl(Linear) - Constructor for class net.sf.javailp.ResultImpl
Constructs a ResultImpl for a Problem with an objective function.

S

setDecay(double) - Method in class net.sf.javailp.minisat.MiniSat
Set the decay value
setInc(double) - Method in class net.sf.javailp.minisat.MiniSat
Set the inc value
setObjective(int[], int[]) - Method in class net.sf.javailp.minisat.MiniSat
Set the objective of the problem.
setObjective(Linear) - Method in class net.sf.javailp.Problem
Sets the objective function.
setObjective(Linear, OptType) - Method in class net.sf.javailp.Problem
Sets the objective function.
setObjective(Linear, String) - Method in class net.sf.javailp.Problem
Sets the objective function.
setOptimizationType(OptType) - Method in class net.sf.javailp.Problem
Sets the optimization type.
setParameter(Object, Object) - Method in class net.sf.javailp.AbstractSolver
 
setParameter(Object, Object) - Method in class net.sf.javailp.AbstractSolverFactory
 
setParameter(Object, Object) - Method in interface net.sf.javailp.Solver
Sets a parameter.
setParameter(Object, Object) - Method in interface net.sf.javailp.SolverFactory
Sets a parameter.
setVar(int, boolean, double) - Method in class net.sf.javailp.minisat.MiniSat
Sets the initial phase and activity for a specified variable-
setVarLowerBound(Object, Number) - Method in class net.sf.javailp.Problem
Sets the lower bound of a variable.
setVarType(Object, VarType) - Method in class net.sf.javailp.Problem
Sets the variable type of one variable.
setVarType(Object, Class<?>) - Method in class net.sf.javailp.Problem
Sets the variable type of one variable.
setVarUpperBound(Object, Number) - Method in class net.sf.javailp.Problem
Sets the upper bound of a variable.
setVerbose(int) - Method in class net.sf.javailp.minisat.MiniSat
Set the verbosity level (0=no output,1,2=most output).
size() - Method in class net.sf.javailp.Constraint
Returns the size of the linear expression.
size() - Method in class net.sf.javailp.Linear
Returns the size (number of variables) of the linear expression.
solve() - Method in class net.sf.javailp.minisat.MiniSat
Solve the problem.
solve(Problem) - Method in interface net.sf.javailp.Solver
Solve the optimization problem.
solve(Problem) - Method in class net.sf.javailp.SolverCPLEX
 
solve(Problem) - Method in class net.sf.javailp.SolverGLPK
 
solve(Problem) - Method in class net.sf.javailp.SolverGurobi
 
solve(Problem) - Method in class net.sf.javailp.SolverLpSolve
 
solve(Problem) - Method in class net.sf.javailp.SolverMiniSat
 
solve(Problem) - Method in class net.sf.javailp.SolverMosek
 
solve(Problem) - Method in class net.sf.javailp.SolverSAT4J
 
Solver - Interface in net.sf.javailp
The Solver.
SolverCPLEX - Class in net.sf.javailp
The SolverCPLEX is the Solver CPLEX.
SolverCPLEX() - Constructor for class net.sf.javailp.SolverCPLEX
 
SolverCPLEX.Hook - Interface in net.sf.javailp
The Hook for the SolverCPLEX.
SolverFactory - Interface in net.sf.javailp
The class SolverFactory is used to create Solver instances.
SolverFactoryCPLEX - Class in net.sf.javailp
The SolverFactoryCPLEX is a SolverFactory for CPLEX.
SolverFactoryCPLEX() - Constructor for class net.sf.javailp.SolverFactoryCPLEX
 
SolverFactoryGLPK - Class in net.sf.javailp
The SolverFactoryGLPK is a SolverFactory for GLPK.
SolverFactoryGLPK() - Constructor for class net.sf.javailp.SolverFactoryGLPK
 
SolverFactoryGurobi - Class in net.sf.javailp
The SolverFactoryGurobi is a SolverFactory for Gurobi.
SolverFactoryGurobi() - Constructor for class net.sf.javailp.SolverFactoryGurobi
 
SolverFactoryLpSolve - Class in net.sf.javailp
The SolverFactoryLpSolve is a SolverFactory for lp_solve.
SolverFactoryLpSolve() - Constructor for class net.sf.javailp.SolverFactoryLpSolve
 
SolverFactoryMiniSat - Class in net.sf.javailp
The SolverFactoryMiniSat is a SolverFactory for MiniSat+.
SolverFactoryMiniSat() - Constructor for class net.sf.javailp.SolverFactoryMiniSat
 
SolverFactoryMosek - Class in net.sf.javailp
The SolverFactoryCPLEX is a SolverFactory for Mosek.
SolverFactoryMosek() - Constructor for class net.sf.javailp.SolverFactoryMosek
Constructs a SolverFactoryMosek.
SolverFactorySAT4J - Class in net.sf.javailp
The SolverFactoryCPLEX is a SolverFactory for SAT4J.
SolverFactorySAT4J() - Constructor for class net.sf.javailp.SolverFactorySAT4J
 
SolverGLPK - Class in net.sf.javailp
The SolverGLPK is the Solver GLPK.
SolverGLPK() - Constructor for class net.sf.javailp.SolverGLPK
 
SolverGLPK.Hook - Interface in net.sf.javailp
The Hook for the SolverGLPK.
SolverGurobi - Class in net.sf.javailp
The SolverGurobi is the Solver Gurobi.
SolverGurobi() - Constructor for class net.sf.javailp.SolverGurobi
 
SolverGurobi.Hook - Interface in net.sf.javailp
The Hook for the SolverGurobi.
SolverLpSolve - Class in net.sf.javailp
The SolverLpSolve is the Solver lp_solve.
SolverLpSolve() - Constructor for class net.sf.javailp.SolverLpSolve
 
SolverLpSolve.Hook - Interface in net.sf.javailp
The Hook for the SolverLpSolve.
SolverMiniSat - Class in net.sf.javailp
The SolverMiniSat is the Solver MiniSat+.
SolverMiniSat() - Constructor for class net.sf.javailp.SolverMiniSat
Constructs a minisat+ solver.
SolverMosek - Class in net.sf.javailp
The SolverCPLEX is the Solver Mosek.
SolverMosek(Env) - Constructor for class net.sf.javailp.SolverMosek
Constructs a SolverMosek.
SolverMosek.Hook - Interface in net.sf.javailp
The Hook for the SolverMosek.
SolverSAT4J - Class in net.sf.javailp
The SolverCPLEX is the Solver SAT4J.
SolverSAT4J() - Constructor for class net.sf.javailp.SolverSAT4J
 
SolverSAT4J.Hook - Interface in net.sf.javailp
The Hook for the SolverSAT4J.
solveSingle() - Method in class net.sf.javailp.minisat.MiniSat
Solve the problem without optimizing.

T

Term - Class in net.sf.javailp
The Term is the basic element the Linear.
Term(Object, Number) - Constructor for class net.sf.javailp.Term
Constructs a Term.
TIMEOUT - Static variable in interface net.sf.javailp.Solver
Identifier for the timeout value.
toString() - Method in class net.sf.javailp.Constraint
 
toString() - Method in class net.sf.javailp.Linear
 
toString() - Method in class net.sf.javailp.minisat.MiniSat
 
toString() - Method in enum net.sf.javailp.Operator
 
toString() - Method in enum net.sf.javailp.OptType
 
toString() - Method in class net.sf.javailp.Problem
 
toString() - Method in class net.sf.javailp.ResultImpl
 
toString() - Method in class net.sf.javailp.ValueObject
 
toString() - Method in enum net.sf.javailp.VarType
 

V

ValueObject - Class in net.sf.javailp
The ValueObject is a superclass for all comparable objects based on their fields.
ValueObject() - Constructor for class net.sf.javailp.ValueObject
 
valueOf(int) - Method in class net.sf.javailp.minisat.MiniSat
Returns the value of the result of a specified variable.
valueOf(String) - Static method in enum net.sf.javailp.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.javailp.OptType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.javailp.VarType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.javailp.Operator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.javailp.OptType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.javailp.VarType
Returns an array containing the constants of this enum type, in the order they are declared.
VarType - Enum in net.sf.javailp
The variable type.
VERBOSE - Static variable in interface net.sf.javailp.Solver
Identifier for the verbose value.

A C E G H I L M N O P R S T V