Skip navigation links
A B C D E F G H I L M N O P R S T U V X 

A

abs(LSExpression) - Method in class localsolver.LSModel
Creates an absolute value expression.
add(long) - Method in class localsolver.LSCollection
Adds the given value to this collection.
addArgument(long) - Method in class localsolver.LSEvaluationPoint
Adds an integer argument with the given value.
addArgument(double) - Method in class localsolver.LSEvaluationPoint
Adds a double argument with the given value.
addBool(boolean) - Method in class localsolver.modeler.LSPMap
Adds the given boolean value to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addCallback(LSCallbackType, LSCallback) - Method in class localsolver.LocalSolver
Adds a new callback for a specific event type.
addConstraint(LSExpression) - Method in class localsolver.LSModel
Adds the given expression to the list of constraints.
addDouble(double) - Method in class localsolver.modeler.LSPMap
Adds the given double value to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addExpression(LSExpression) - Method in class localsolver.modeler.LSPMap
Adds the given LSExpression to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addFunction(LSPFunction) - Method in class localsolver.modeler.LSPMap
Adds the given LSPFunction to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addInt(long) - Method in class localsolver.modeler.LSPMap
Adds the given integer value to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addMap(LSPMap) - Method in class localsolver.modeler.LSPMap
Adds the given LSPMap to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addModule(LSPModule) - Method in class localsolver.modeler.LSPMap
Adds the given LSPModule to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addObjective(LSExpression, LSObjectiveDirection) - Method in class localsolver.LSModel
Adds the given expression to the list of objectives to optimize.
addOperand(LSExpression) - Method in class localsolver.LSExpression
Adds the given operand to this expression.
addOperand(long) - Method in class localsolver.LSExpression
Adds the given constant operand to this expression.
addOperand(double) - Method in class localsolver.LSExpression
Adds the given constant operand to this expression.
addOperands(Iterable<LSExpression>) - Method in class localsolver.LSExpression
Adds the given operands to this expression.
addOperands(long...) - Method in class localsolver.LSExpression
Adds the given constant integer operands to this expression.
addOperands(double...) - Method in class localsolver.LSExpression
Adds the given constant double operands to this expression.
addOperands(LSExpression...) - Method in class localsolver.LSExpression
Adds the given operands to this expression.
addString(String) - Method in class localsolver.modeler.LSPMap
Adds the given String value to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
addValue(LSPValue) - Method in class localsolver.modeler.LSPMap
Adds the given value to the map with a key corresponding to the largest integer key present in the map plus one, or zero if no integer key exists.
and() - Method in class localsolver.LSModel
Creates an AND expression.
and(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an AND expression.
and(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates an AND expression.
and(LSExpression...) - Method in class localsolver.LSModel
Creates an AND expression.
array() - Method in class localsolver.LSModel
Creates an array expression.
array(Object) - Method in class localsolver.LSModel
Creates an N-dimensional array expression.
array(int...) - Method in class localsolver.LSModel
Creates an array expression.
array(long...) - Method in class localsolver.LSModel
Creates an array expression.
array(float...) - Method in class localsolver.LSModel
Creates an array expression.
array(double...) - Method in class localsolver.LSModel
Creates an array expression.
array(LSExpression...) - Method in class localsolver.LSModel
Creates an array expression.
asBool() - Method in class localsolver.modeler.LSPValue
Returns the value as a boolean.
asDouble() - Method in class localsolver.modeler.LSPValue
Returns the value as a double.
asExpression() - Method in class localsolver.modeler.LSPValue
Returns the value as a LSExpression.
asFunction() - Method in class localsolver.modeler.LSPValue
Returns the value as a LSPFunction.
asInt() - Method in class localsolver.modeler.LSPValue
Returns the value as an integer.
asMap() - Method in class localsolver.modeler.LSPValue
Returns the value as a LSPMap.
asModule() - Method in class localsolver.modeler.LSPValue
Returns the value as a LSPModule.
asString() - Method in class localsolver.modeler.LSPValue
Returns the value as a String.
asValue() - Method in class localsolver.modeler.LSPFunction
Gets the LSPFunction as LSPValue.
asValue() - Method in class localsolver.modeler.LSPMap
Returns the map as an LSPValue.
asValue() - Method in class localsolver.modeler.LSPModule
Returns the module as an LSPValue.
at(LSExpression, LSExpression...) - Method in class localsolver.LSModel
Creates a "at" expression for N-dimensional array.
at(LSExpression, long) - Method in class localsolver.LSModel
Creates a "at" expression.

B

boolVar() - Method in class localsolver.LSModel
Creates a boolean decision.

C

call(LSExternalArgumentValues) - Method in interface localsolver.LSDoubleArrayExternalFunction
The function to call.
call(LSExternalArgumentValues) - Method in interface localsolver.LSDoubleExternalFunction
The function to call.
call(LSExternalArgumentValues) - Method in interface localsolver.LSIntArrayExternalFunction
The function to call.
call(LSExternalArgumentValues) - Method in interface localsolver.LSIntExternalFunction
The function to call.
call(LSExpression[]) - Method in interface localsolver.LSLambdaFunction
Evaluates and returns the body of the function.
call() - Method in interface localsolver.LSLambdaFunction0
Evaluates and returns the body of the function.
call(LSExpression) - Method in interface localsolver.LSLambdaFunction1
Evaluates and returns the body of the function.
call(LSExpression, LSExpression) - Method in interface localsolver.LSLambdaFunction2
Evaluates and returns the body of the function.
call(LSExpression, LSExpression, LSExpression) - Method in interface localsolver.LSLambdaFunction3
Evaluates and returns the body of the function.
call() - Method in class localsolver.LSModel
Creates a call expression.
call(LSExpression) - Method in class localsolver.LSModel
Creates a call expression.
call(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a call expression.
call(LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a call expression.
call(LSExpression...) - Method in class localsolver.LSModel
Creates a call expression.
call(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a call expression.
call() - Method in class localsolver.modeler.LSPFunction
Calls the function with no argument.
call(LSPValue...) - Method in class localsolver.modeler.LSPFunction
Calls the function with the provided arguments.
call(List<LSPValue>) - Method in class localsolver.modeler.LSPFunction
Calls the function with the provided arguments.
call(LSPModeler, List<LSPValue>) - Method in interface localsolver.modeler.LSPFunctor
The function to call with its arguments.
callback(LocalSolver, LSCallbackType) - Method in interface localsolver.LSCallback
The function that will be called during LocalSolver search.
ceil(LSExpression) - Method in class localsolver.LSModel
Creates a ceil expression.
clear() - Method in class localsolver.LSCollection
Removes all values of this collection.
clear() - Method in class localsolver.LSSolution
Clears the solution and set all decisions to zero.
clear() - Method in class localsolver.modeler.LSPMap
Erases all elements from the map.
close() - Method in class localsolver.LocalSolver
Deletes the LocalSolver objects and release the license token.
close() - Method in class localsolver.LSModel
Closes the model.
close() - Method in class localsolver.modeler.LSPModeler
 
computeInconsistency() - Method in class localsolver.LocalSolver
Computes an inconsistency core for this model.
constraint(LSExpression) - Method in class localsolver.LSModel
Shortcut for addConstraint(expr).
contains(long) - Method in class localsolver.LSCollection
Returns true if the collection contains the given value, false otherwise.
contains(LSExpression, long) - Method in class localsolver.LSModel
Creates a contains expression.
contains(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a contains expression.
copyTo(long[]) - Method in class localsolver.LSArray
Copy all the integer values of this array to the given array.
copyTo(double[]) - Method in class localsolver.LSArray
Copy all the double values of this array to the given array.
copyTo(long[]) - Method in class localsolver.LSCollection
Copy all the values of the collection to the given array.
copyTo(long[]) - Method in class localsolver.LSExternalArgumentValues
Copy all the integer values of the argument values to the given array.
copyTo(double[]) - Method in class localsolver.LSExternalArgumentValues
Copy all the double values of the argument values to the given array.
cos(LSExpression) - Method in class localsolver.LSModel
Creates a cosine expression.
count() - Method in class localsolver.LSArray
Returns the number of elements in the array.
count() - Method in class localsolver.LSCollection
Returns the number of values in the collection.
count() - Method in class localsolver.LSExternalArgumentValues
Returns the number of values in the current argument values.
count(LSExpression) - Method in class localsolver.LSModel
Creates a count expression.
count() - Method in class localsolver.modeler.LSPMap
Returns the number of elements in the map.
cover() - Method in class localsolver.LSModel
Creates a cover expression.
cover(LSExpression...) - Method in class localsolver.LSModel
Creates a cover expression.
cover(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a cover expression.
cover(LSExpression) - Method in class localsolver.LSModel
Creates a cover expression.
createBool(boolean) - Method in class localsolver.modeler.LSPModeler
Creates a boolean value.
createConstant(long) - Method in class localsolver.LSModel
Creates a constant expression representing the given value.
createConstant(double) - Method in class localsolver.LSModel
Creates a constant expression representing the given value.
createDouble(double) - Method in class localsolver.modeler.LSPModeler
Creates a double value.
createDoubleArrayExternalFunction(LSDoubleArrayExternalFunction) - Method in class localsolver.LSModel
Creates a double array external function.
createDoubleExternalFunction(LSDoubleExternalFunction) - Method in class localsolver.LSModel
Creates a double external function.
createEvaluationPoint() - Method in class localsolver.LSSurrogateParameters
Creates an evaluation point for the external function.
createExpression(LSOperator) - Method in class localsolver.LSModel
Creates an expression of the given type.
createExpression(LSOperator, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operand.
createExpression(LSOperator, long) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operand.
createExpression(LSOperator, double) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operand.
createExpression(LSOperator, LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, long, long) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, long, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, long) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, double, double) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, double, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, double) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, long, long, long) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, long, long, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, long, LSExpression, long) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, long, LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, long, long) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, long, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, LSExpression, long) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, double, double, double) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, double, double, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, double, LSExpression, double) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, double, LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, double, double) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, double, LSExpression) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression, LSExpression, double) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, LSExpression...) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, int[]) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, long[]) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, float[]) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createExpression(LSOperator, double[]) - Method in class localsolver.LSModel
Creates an expression of the given type, with the given operands.
createFunction(String, LSPFunctor) - Method in class localsolver.modeler.LSPModeler
Creates an external LSPFunction.
createFunction(LSPFunctor) - Method in class localsolver.modeler.LSPModeler
Creates an external LSPFunction.
createInt(long) - Method in class localsolver.modeler.LSPModeler
Creates an integer value.
createIntArrayExternalFunction(LSIntArrayExternalFunction) - Method in class localsolver.LSModel
Creates an integer array external function.
createIntExternalFunction(LSIntExternalFunction) - Method in class localsolver.LSModel
Creates an integer external function.
createLambdaFunction(LSLambdaFunction0) - Method in class localsolver.LSModel
Creates a lambda function without arguments.
createLambdaFunction(LSLambdaFunction1) - Method in class localsolver.LSModel
Creates a lambda function with one arguments.
createLambdaFunction(LSLambdaFunction2) - Method in class localsolver.LSModel
Creates a lambda function with two arguments.
createLambdaFunction(LSLambdaFunction3) - Method in class localsolver.LSModel
Creates a lambda function with three arguments.
createLambdaFunction(int, LSLambdaFunction) - Method in class localsolver.LSModel
Creates a lambda function with arguments.
createMap() - Method in class localsolver.modeler.LSPModeler
Creates an LSPMap.
createMap(List<E>) - Method in class localsolver.modeler.LSPModeler
Creates a LSPMap and fills it with the contents of the provided list.
createModule(String) - Method in class localsolver.modeler.LSPModeler
Creates an empty module with the given name.
createNil() - Method in class localsolver.modeler.LSPModeler
Creates a nil value.
createPhase() - Method in class localsolver.LocalSolver
Adds a new phase to this LocalSolver environment.
createString(String) - Method in class localsolver.modeler.LSPModeler
Creates a string value.

D

delete() - Method in class localsolver.LocalSolver
Deletes the LocalSolver objects and release the license token.
delete() - Method in class localsolver.modeler.LSPModeler
Deletes this modeler environment and all associated objects (this includes the solver environment as well, see LocalSolver.delete()).
disjoint() - Method in class localsolver.LSModel
Creates a disjoint expression.
disjoint(LSExpression...) - Method in class localsolver.LSModel
Creates a disjoint expression.
disjoint(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a disjoint expression.
disjoint(LSExpression) - Method in class localsolver.LSModel
Creates a disjoint expression.
dist(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a distance expression.
dist(LSExpression, long) - Method in class localsolver.LSModel
Creates a distance expression.
dist(long, LSExpression) - Method in class localsolver.LSModel
Creates a distance expression.
dist(LSExpression, double) - Method in class localsolver.LSModel
Creates a distance expression.
dist(double, LSExpression) - Method in class localsolver.LSModel
Creates a distance expression.
div(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a division expression.
div(LSExpression, long) - Method in class localsolver.LSModel
Creates a division expression.
div(long, LSExpression) - Method in class localsolver.LSModel
Creates a division expression.
div(LSExpression, double) - Method in class localsolver.LSModel
Creates a division expression.
div(double, LSExpression) - Method in class localsolver.LSModel
Creates a division expression.
doubleArrayExternalFunction(LSDoubleArrayExternalFunction) - Method in class localsolver.LSModel
Creates an external function expression.
doubleExternalFunction(LSDoubleExternalFunction) - Method in class localsolver.LSModel
Creates an external function expression.

E

enableSurrogateModeling() - Method in class localsolver.LSExternalContext
Enables the surrogate modeling on the associated external function.
eq(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an equality expression.
eq(LSExpression, long) - Method in class localsolver.LSModel
Creates an equality expression.
eq(long, LSExpression) - Method in class localsolver.LSModel
Creates an equality expression.
eq(LSExpression, double) - Method in class localsolver.LSModel
Creates an equality expression.
eq(double, LSExpression) - Method in class localsolver.LSModel
Creates an equality expression.
equals(Object) - Method in class localsolver.LocalSolver
 
equals(Object) - Method in class localsolver.LSArray
 
equals(Object) - Method in class localsolver.LSCollection
 
equals(Object) - Method in class localsolver.LSEvaluationPoint
 
equals(Object) - Method in class localsolver.LSExpression
 
equals(Object) - Method in class localsolver.LSExternalArgumentValues
 
equals(Object) - Method in class localsolver.LSExternalContext
 
equals(Object) - Method in class localsolver.LSInconsistency
 
equals(Object) - Method in class localsolver.LSModel
 
equals(Object) - Method in class localsolver.LSParam
 
equals(Object) - Method in class localsolver.LSPhase
 
equals(Object) - Method in class localsolver.LSSolution
 
equals(Object) - Method in class localsolver.LSStatistics
 
equals(Object) - Method in class localsolver.LSSurrogateParameters
 
equals(Object) - Method in class localsolver.modeler.LSPFunction
 
equals(Object) - Method in class localsolver.modeler.LSPMap.Entry
 
equals(Object) - Method in class localsolver.modeler.LSPMap
 
equals(Object) - Method in class localsolver.modeler.LSPModeler
 
equals(Object) - Method in class localsolver.modeler.LSPModule
 
equals(Object) - Method in class localsolver.modeler.LSPValue
 
exp(LSExpression) - Method in class localsolver.LSModel
Creates an exponential expression.

F

find(LSExpression, long) - Method in class localsolver.LSModel
Creates a find expression.
find(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a find expression.
floatVar(double, double) - Method in class localsolver.LSModel
Creates a float decision.
floor(LSExpression) - Method in class localsolver.LSModel
Creates a floor expression.

G

geq(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression greater than or equal to.
geq(LSExpression, long) - Method in class localsolver.LSModel
Creates an inequality expression greater than or equal to.
geq(long, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression greater than or equal to.
geq(LSExpression, double) - Method in class localsolver.LSModel
Creates an inequality expression greater than or equal to.
geq(double, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression greater than or equal to.
get(int) - Method in class localsolver.LSCollection
Gets the value at the given position.
getAdvancedParam(String) - Method in class localsolver.LSParam
Returns the value of an advanced parameter.
getAdvancedParam(String, int) - Method in class localsolver.LSParam
Reserved for maintenance purpose.
getAdvancedParam(String, double) - Method in class localsolver.LSParam
Reserved for maintenance purpose.
getAdvancedParam(String, String) - Method in class localsolver.LSParam
Reserved for maintenance purpose.
getAnnealingLevel() - Method in class localsolver.LSParam
Deprecated.
As of 8.5, this parameter doesn't have a significant influence on the search anymore. The tuning of this parameter won't be allowed in a future version.
getArrayReturnValue() - Method in class localsolver.LSEvaluationPoint
Returns the return value of this evaluation point.
getArrayValue(int) - Method in class localsolver.LSArray
Returns the array value at the given position.
getArrayValue() - Method in class localsolver.LSExpression
Gets the value of this expression in the best solution found by the solver.
getArrayValue(int) - Method in class localsolver.LSExternalArgumentValues
Returns the array value at the given position.
getArrayValue(LSExpression) - Method in class localsolver.LSSolution
Gets the value of this expression in the best solution found by the solver.
getBool(String) - Method in class localsolver.modeler.LSPMap
Returns the boolean value associated with the given key.
getBool(long) - Method in class localsolver.modeler.LSPMap
Returns the boolean value associated with the given key.
getBool(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the boolean value associated with the given key.
getBool(String) - Method in class localsolver.modeler.LSPModule
Returns the boolean variable with the given name.
getBuildDate() - Static method in class localsolver.LSVersion
Returns LocalSolver's build date.
getCause(int) - Method in class localsolver.LSInconsistency
Gets the cause with the given index in this model.
getCollectionValue() - Method in class localsolver.LSExpression
Gets the value of this expression in the best solution found by the solver.
getCollectionValue(int) - Method in class localsolver.LSExternalArgumentValues
Returns the collection value at the given position.
getCollectionValue(LSExpression) - Method in class localsolver.LSSolution
Returns the value of the given expression in this solution.
getConstraint(int) - Method in class localsolver.LSModel
Gets the constraint with the given index.
getCopyright() - Static method in class localsolver.LSVersion
Returns LocalSolver's copyright as a string.
getDecision(int) - Method in class localsolver.LSModel
Gets the decision with the given index.
getDeclaredName() - Method in class localsolver.modeler.LSPFunction
Gets the name of the function.
getDouble(String) - Method in class localsolver.modeler.LSPMap
Returns the double value associated with the given key.
getDouble(long) - Method in class localsolver.modeler.LSPMap
Returns the double value associated with the given key.
getDouble(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the double value associated with the given key.
getDouble(String) - Method in class localsolver.modeler.LSPModule
Returns the double variable with the given name.
getDoubleArgument(int) - Method in class localsolver.LSEvaluationPoint
Returns the value of the argument at the given position.
getDoubleLowerBound() - Method in class localsolver.LSExternalContext
Gets the lower bound of the external function.
getDoubleObjectiveBound(int) - Method in class localsolver.LSSolution
Returns the bound computed by the solver for the given objective.
getDoubleObjectiveThreshold(int) - Method in class localsolver.LSParam
Gets the threshold of the objective with the given index.
getDoubleReturnValue() - Method in class localsolver.LSEvaluationPoint
Returns the return value of this evaluation point.
getDoubleUpperBound() - Method in class localsolver.LSExternalContext
Gets the upper bound of the external function.
getDoubleValue(int) - Method in class localsolver.LSArray
Returns the double value at the given position.
getDoubleValue() - Method in class localsolver.LSExpression
Gets the value of this expression in the best solution found by the solver.
getDoubleValue(int) - Method in class localsolver.LSExternalArgumentValues
Returns the double value at the given position.
getDoubleValue(LSExpression) - Method in class localsolver.LSSolution
Returns the value of the given expression in this solution.
getErrorCode() - Method in exception localsolver.LSException
Returns the error code associated to this exception.
getEvaluationLimit() - Method in class localsolver.LSSurrogateParameters
Returns the maximum number of evaluations.
getEvaluationPoint(int) - Method in class localsolver.LSSurrogateParameters
Returns the evaluation point at the given position.
getExplanation() - Method in exception localsolver.LSException
Gets the explanation about the exception.
getExpression(int) - Method in class localsolver.LSModel
Gets the expression with the given index in this model.
getExpression(String) - Method in class localsolver.LSModel
Gets the expression with the given index in this model.
getExpression(String) - Method in class localsolver.modeler.LSPMap
Returns the LSExpression associated with the given key.
getExpression(long) - Method in class localsolver.modeler.LSPMap
Returns the LSExpression associated with the given key.
getExpression(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the LSExpression associated with the given key.
getExpression(String) - Method in class localsolver.modeler.LSPModule
Returns the LSExpression with the given name.
getExternalContext() - Method in class localsolver.LSExpression
Gets the native function context of this expression.
getFileName() - Method in exception localsolver.LSException
Gets the name of the LocalSolver source file where the exception is thrown.
getFunction(String) - Method in class localsolver.modeler.LSPMap
Returns the LSPFunction associated with the given key.
getFunction(long) - Method in class localsolver.modeler.LSPMap
Returns the LSPFunction associated with the given key.
getFunction(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the LSPFunction associated with the given key.
getFunction(String) - Method in class localsolver.modeler.LSPModule
Returns the LSPFunction with the given name.
getFunctionName() - Method in exception localsolver.LSException
Gets the name of the function where the exception is thrown.
getIndex() - Method in class localsolver.LSExpression
Gets the index of this expression in the model.
getInfo() - Static method in class localsolver.LSVersion
Returns version and copyright info as a string.
getInt(String) - Method in class localsolver.modeler.LSPMap
Returns the integer value associated with the given key.
getInt(long) - Method in class localsolver.modeler.LSPMap
Returns the integer value associated with the given key.
getInt(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the integer value associated with the given key.
getInt(String) - Method in class localsolver.modeler.LSPModule
Returns the integer variable with the given name.
getIntArgument(int) - Method in class localsolver.LSEvaluationPoint
Returns the value of the argument at the given position.
getIntLowerBound() - Method in class localsolver.LSExternalContext
Gets the lower bound of the external function.
getIntObjectiveBound(int) - Method in class localsolver.LSSolution
Returns the bound computed by the solver for the given objective.
getIntObjectiveThreshold(int) - Method in class localsolver.LSParam
Gets the threshold of the objective with the given index.
getIntReturnValue() - Method in class localsolver.LSEvaluationPoint
Returns the return value of this evaluation point.
getIntUpperBound() - Method in class localsolver.LSExternalContext
Gets the upper bound of the external function.
getIntValue(int) - Method in class localsolver.LSArray
Returns the integer value at the given position.
getIntValue() - Method in class localsolver.LSExpression
Gets the value of this expression in the best solution found by the solver.
getIntValue(int) - Method in class localsolver.LSExternalArgumentValues
Returns the integer value at the given position.
getIntValue(LSExpression) - Method in class localsolver.LSSolution
Returns the value of the given expression in this solution.
getIterationBetweenTicks() - Method in class localsolver.LSParam
Gets the number of iterations between two events of type LSCallbackType.IterationTicked.
getIterationLimit() - Method in class localsolver.LSParam
Gets the maximum number of iterations.
getIterationLimit() - Method in class localsolver.LSPhase
Gets the number of iterations of this phase.
getKey() - Method in class localsolver.modeler.LSPMap.Entry
Returns the key corresponding to this entry.
getLicenseContent() - Static method in class localsolver.LSVersion
Returns the license content previously set with LSVersion.setLicenseContent(java.lang.String).
getLicensePath() - Static method in class localsolver.LSVersion
Returns the license path of LocalSolver.
getLineNumber() - Method in exception localsolver.LSException
Gets the line number in the LocalSolver source file where the exception is thrown.
getLocalSolver() - Method in class localsolver.LSExpression
 
getLocalSolver() - Method in class localsolver.LSExternalArgumentValues
Returns the LocalSolver object associated to the argument values.
getLocalSolver() - Method in class localsolver.LSModel
Returns the LocalSolver object associated to this model.
getLocalSolver() - Method in class localsolver.LSParam
Returns the LocalSolver object associated to these parameters.
getLocalSolver() - Method in class localsolver.LSPhase
Returns the LocalSolver object associated to this phase.
getLocalSolver() - Method in class localsolver.LSSolution
Returns the LocalSolver object associated to this solution.
getLocalSolver() - Method in class localsolver.LSStatistics
Returns the LocalSolver object associated to these statistics.
getLogFile() - Method in class localsolver.LSParam
Returns the path of the LocalSolver log file.
getLogWriter() - Method in class localsolver.LSParam
Returns the stream used by LocalSolver for its logging.
getMajorVersionNumber() - Static method in class localsolver.LSVersion
Returns LocalSolver's major version number.
getMap(String) - Method in class localsolver.modeler.LSPMap
Returns the LSPMap associated with the given key.
getMap(long) - Method in class localsolver.modeler.LSPMap
Returns the LSPMap associated with the given key.
getMap(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the LSPMap associated with the given key.
getMap(String) - Method in class localsolver.modeler.LSPModule
Returns the LSPMap with the given name.
getMessage() - Method in exception localsolver.LSException
Returns a String message with all useful info about the current exception.
getMinorVersionNumber() - Static method in class localsolver.LSVersion
Returns LocalSolver's minor version number.
getModel() - Method in class localsolver.LocalSolver
Gets the model associated to this LocalSolver environment.
getModel() - Method in class localsolver.LSExpression
 
getModule(String) - Method in class localsolver.modeler.LSPMap
Returns the LSPModule associated with the given key.
getModule(long) - Method in class localsolver.modeler.LSPMap
Returns the LSPModule associated with the given key.
getModule(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the LSPModule associated with the given key.
getModule(String) - Method in class localsolver.modeler.LSPModule
Returns the LSPModule with the given name.
getName() - Method in class localsolver.LSExpression
Gets the name of this expression or the empty String if no name has been set.
getNbAcceptedMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getNbCauses() - Method in class localsolver.LSInconsistency
Gets the number of expressions responsible for the inconsistency of this model.
getNbConstraints() - Method in class localsolver.LSModel
Gets the number of constraints added to this model.
getNbDecisions() - Method in class localsolver.LSModel
Gets the number of decisions in the model.
getNbEvaluationPoints() - Method in class localsolver.LSSurrogateParameters
Returns the number of evaluation points.
getNbExpressions() - Method in class localsolver.LSModel
Gets the number of expressions added to this model.
getNbImprovingMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getNbInfeasibleMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getNbIterations() - Method in class localsolver.LSStatistics
Gets the number of iterations.
getNbMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getNbObjectives() - Method in class localsolver.LSModel
Gets the number of objectives added to this model.
getNbOperands() - Method in class localsolver.LSExpression
Gets the number of operands of this expression.
getNbOperands() - Method in class localsolver.LSModel
Gets the number of operands in the model.
getNbPhases() - Method in class localsolver.LocalSolver
Gets the number of phases.
getNbRejectedMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getNbThreads() - Method in class localsolver.LSParam
Gets the number of threads (0 coding for automatic setting).
getObjective(int) - Method in class localsolver.LSModel
Gets the objective with the given index.
getObjectiveBound(int) - Method in class localsolver.LSSolution
Returns the bound computed by the solver for the given objective.
getObjectiveDirection(int) - Method in class localsolver.LSModel
Gets the direction of the objective with the given index.
getObjectiveThreshold(int) - Method in class localsolver.LSParam
Gets the threshold of the objective with the given index.
getOperand(int) - Method in class localsolver.LSExpression
Gets the operand with the given index.
getOperator() - Method in class localsolver.LSExpression
Gets the operator of this expression.
getOptimizedObjective() - Method in class localsolver.LSPhase
Gets the index of the optimized objective.
getParam() - Method in class localsolver.LocalSolver
Gets the parameters of this LocalSolver environment.
getPercentAcceptedMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getPercentImprovingMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getPercentInfeasibleMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getPercentRejectedMoves() - Method in class localsolver.LSStatistics
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
getPhase(int) - Method in class localsolver.LocalSolver
Gets the phase with the given index.
getPlatform() - Static method in class localsolver.LSVersion
Returns the platform of the LocalSolver's binary as a string.
getRunningTime() - Method in class localsolver.LSStatistics
Gets the running time in seconds.
getSeed() - Method in class localsolver.LSParam
Gets the seed of the pseudo-random number generator used by the solver.
getSolution() - Method in class localsolver.LocalSolver
Gets the best solution found by the solver.
getSolver() - Method in class localsolver.modeler.LSPModeler
Returns a reference to the LocalSolver environment associated with this modeler instance.
getState() - Method in class localsolver.LocalSolver
Gets the state of this LocalSolver environment.
getStatistics() - Method in class localsolver.LocalSolver
Gets the statistics of this LocalSolver environment.
getStatus() - Method in class localsolver.LSSolution
Returns the status of the solution.
getStdErr() - Method in class localsolver.modeler.LSPModeler
Returns the stream used by the modeler for its standard error output.
getStdOut() - Method in class localsolver.modeler.LSPModeler
Returns the stream used by the modeler for its standard output methods like print or println.
getString(String) - Method in class localsolver.modeler.LSPMap
Returns the String value associated with the given key.
getString(long) - Method in class localsolver.modeler.LSPMap
Returns the String value associated with the given key.
getString(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the String value associated with the given key.
getString(String) - Method in class localsolver.modeler.LSPModule
Returns the string with the given name.
getTimeBetweenDisplays() - Method in class localsolver.LSParam
Gets the time in seconds between two consecutive displays in console while the solver is running.
getTimeBetweenTicks() - Method in class localsolver.LSParam
Gets the time in seconds between two events of type LSCallbackType.TimeTicked.
getTimeLimit() - Method in class localsolver.LSParam
Gets the time limit in seconds.
getTimeLimit() - Method in class localsolver.LSPhase
Gets the time limit of this phase in seconds.
getType(String) - Method in class localsolver.modeler.LSPModule
Returns the type of the variable with the given name.
getType() - Method in class localsolver.modeler.LSPValue
Returns the type of the value.
getValue() - Method in class localsolver.LSExpression
Gets the value of this expression in the best solution found by the solver.
getValue(LSExpression) - Method in class localsolver.LSSolution
Returns the value of the given expression in this solution.
getValue() - Method in class localsolver.modeler.LSPMap.Entry
Returns the value corresponding to this entry.
getValue(String) - Method in class localsolver.modeler.LSPMap
Returns the value associated with the given key as an LSPValue.
getValue(long) - Method in class localsolver.modeler.LSPMap
Returns the value associated with the given key as an LSPValue.
getValue(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns the value associated with the given key as an LSPValue.
getValue(String) - Method in class localsolver.modeler.LSPModule
Returns the LSPValue with the given name.
getVerbosity() - Method in class localsolver.LSParam
Gets the verbosity level of the solver.
getVersion() - Static method in class localsolver.LSVersion
Returns LocalSolver's version as a string.
getVersionCode() - Static method in class localsolver.LSVersion
Returns LocalSolver's version code as an integer in the range [0, 29999].
gt(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression greater than.
gt(LSExpression, long) - Method in class localsolver.LSModel
Creates an inequality expression greater than.
gt(long, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression greater than.
gt(LSExpression, double) - Method in class localsolver.LSModel
Creates an inequality expression greater than.
gt(double, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression greater than.

H

hashCode() - Method in class localsolver.LocalSolver
 
hashCode() - Method in class localsolver.LSArray
 
hashCode() - Method in class localsolver.LSCollection
 
hashCode() - Method in class localsolver.LSEvaluationPoint
 
hashCode() - Method in class localsolver.LSExpression
 
hashCode() - Method in class localsolver.LSExternalArgumentValues
 
hashCode() - Method in class localsolver.LSExternalContext
 
hashCode() - Method in class localsolver.LSInconsistency
 
hashCode() - Method in class localsolver.LSModel
 
hashCode() - Method in class localsolver.LSParam
 
hashCode() - Method in class localsolver.LSPhase
 
hashCode() - Method in class localsolver.LSSolution
 
hashCode() - Method in class localsolver.LSStatistics
 
hashCode() - Method in class localsolver.LSSurrogateParameters
 
hashCode() - Method in class localsolver.modeler.LSPFunction
 
hashCode() - Method in class localsolver.modeler.LSPMap.Entry
 
hashCode() - Method in class localsolver.modeler.LSPMap
 
hashCode() - Method in class localsolver.modeler.LSPModeler
 
hashCode() - Method in class localsolver.modeler.LSPModule
 
hashCode() - Method in class localsolver.modeler.LSPValue
 

I

iif(LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a ternary conditional expression.
iif(LSExpression, LSExpression, long) - Method in class localsolver.LSModel
Creates a ternary conditional expression.
iif(LSExpression, long, LSExpression) - Method in class localsolver.LSModel
Creates a ternary conditional expression.
iif(LSExpression, long, long) - Method in class localsolver.LSModel
Creates a ternary conditional expression.
iif(LSExpression, LSExpression, double) - Method in class localsolver.LSModel
Creates a ternary conditional expression.
iif(LSExpression, double, LSExpression) - Method in class localsolver.LSModel
Creates a ternary conditional expression.
iif(LSExpression, double, double) - Method in class localsolver.LSModel
Creates a ternary conditional expression.
indexOf(LSExpression, long) - Method in class localsolver.LSModel
Creates an indexOf expression.
indexOf(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an indexOf expression.
intArrayExternalFunction(LSIntArrayExternalFunction) - Method in class localsolver.LSModel
Creates an external function expression.
intExternalFunction(LSIntExternalFunction) - Method in class localsolver.LSModel
Creates an external function expression.
intVar(long, long) - Method in class localsolver.LSModel
Creates an integer decision.
isArray(int) - Method in class localsolver.LSArray
Returns true if the value at the given position is an array.
isArray() - Method in class localsolver.LSExpression
Returns true if this expression is an array, false otherwise.
isArray(int) - Method in class localsolver.LSExternalArgumentValues
Returns true if the value at the given position is an array.
isArrayReturnValue() - Method in class localsolver.LSEvaluationPoint
Returns true if the external function associated with this evaluation point is an array function, false otherwise.
isBool(int) - Method in class localsolver.LSArray
Returns true if the value at the given position is a boolean.
isBool() - Method in class localsolver.LSExpression
Returns true if this expression is a boolean (ie 0 or 1), false otherwise.
isBool(int) - Method in class localsolver.LSExternalArgumentValues
Returns true if the value at the given position is a boolean.
isBool(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds a boolean value.
isBool() - Method in class localsolver.modeler.LSPValue
Returns true if the value is a boolean value.
isClosed() - Method in class localsolver.LSModel
Returns true if the model is closed, false otherwise.
isCollection() - Method in class localsolver.LSExpression
Returns true if this expression is a collection (list or set), false otherwise.
isCollection(int) - Method in class localsolver.LSExternalArgumentValues
Returns true if the value at the given position is a collection (list or set).
isConstant() - Method in class localsolver.LSExpression
Returns true if this expression is typed as constant in the model, false otherwise.
isConstraint() - Method in class localsolver.LSExpression
Returns true if this expression is tagged as constraint in the model, false otherwise.
isDecision() - Method in class localsolver.LSExpression
Returns true if this expression is typed as decision in the model, false otherwise.
isDefined(String) - Method in class localsolver.modeler.LSPMap
Returns true if the given key is defined in the map.
isDefined(int) - Method in class localsolver.modeler.LSPMap
Returns true if the given key is defined in the map.
isDefined(LSPValue) - Method in class localsolver.modeler.LSPMap
Returns true if the given key is defined in the map.
isDouble(int) - Method in class localsolver.LSArray
Returns true if the value at the given position is a double.
isDouble() - Method in class localsolver.LSExpression
Returns true if this expression is a double, false otherwise.
isDouble(int) - Method in class localsolver.LSExternalArgumentValues
Returns true if the value at the given position is a double.
isDouble(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds a double value.
isDouble() - Method in class localsolver.modeler.LSPValue
Returns true if the value is a double value.
isDoubleArgument(int) - Method in class localsolver.LSEvaluationPoint
Returns true if the argument at this given position is a double, false otherwise.
isDoubleReturnValue() - Method in class localsolver.LSEvaluationPoint
Returns true if the external function associated with this evaluation point is a double function, false otherwise.
isEnabled() - Method in class localsolver.LSPhase
Returns true if the phase is enabled, False otherwise.
isExpression(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds an LSExpression.
isExpression() - Method in class localsolver.modeler.LSPValue
Returns true if the value is an LSExpression.
isFunction() - Method in class localsolver.LSExpression
Returns true if this expression is a function, false otherwise.
isFunction(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds an LSPFunction.
isFunction() - Method in class localsolver.modeler.LSPValue
Returns true if the value is a LSPFunction.
isInt(int) - Method in class localsolver.LSArray
Returns true if the value at the given position is an integer.
isInt() - Method in class localsolver.LSExpression
Returns true if this expression is an integer, false otherwise.
isInt(int) - Method in class localsolver.LSExternalArgumentValues
Returns true if the value at the given position is an integer.
isInt(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds an integer value.
isInt() - Method in class localsolver.modeler.LSPValue
Returns true if the value is an integer value.
isIntArgument(int) - Method in class localsolver.LSEvaluationPoint
Returns true if the argument at this given position is an integer, false otherwise.
isIntReturnValue() - Method in class localsolver.LSEvaluationPoint
Returns true if the external function associated with this evaluation point is an integer function, false otherwise.
isMap(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds an LSPMap.
isMap() - Method in class localsolver.modeler.LSPValue
Returns true if the value is an LSPMap.
isModule(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds an LSPModule.
isModule() - Method in class localsolver.modeler.LSPValue
Returns true if the value is an LSPModule.
isNamed() - Method in class localsolver.LSExpression
Returns true if this expression has a name, and false otherwise.
isNanable() - Method in class localsolver.LSExternalContext
Returns true if the function can return a NaN value.
isNil(String) - Method in class localsolver.modeler.LSPModule
Returns true if no variable with this name exists in the module or if the variable holds a nil value.
isNil() - Method in class localsolver.modeler.LSPValue
Returns true if the value is nil.
isObjective() - Method in class localsolver.LSExpression
Returns true if this expression is tagged as objective in the model, false otherwise.
isString(String) - Method in class localsolver.modeler.LSPModule
Returns true if the variable with the given name exists and holds a string value.
isString() - Method in class localsolver.modeler.LSPValue
Returns true if the value is a string.
isUndefined() - Method in class localsolver.LSExpression
Returns true if the given expression has an undefined value in the best solution found by the solver.
isUndefined(LSExpression) - Method in class localsolver.LSSolution
Returns true if the given expression has an undefined value in this solution.
isViolated() - Method in class localsolver.LSExpression
Returns true if the given expression is violated in the best solution found by the solver.
isViolated(LSExpression) - Method in class localsolver.LSSolution
Returns true if the given expression is violated in this solution.
iterator() - Method in class localsolver.LSCollection
Returns an iterator for the content of this collection.
iterator() - Method in class localsolver.modeler.LSPMap
Returns a read-only iterator over the contents of this map.

L

lambdaFunction(int, LSLambdaFunction) - Method in class localsolver.LSModel
Creates a lambda function expression.
lambdaFunction(LSLambdaFunction0) - Method in class localsolver.LSModel
Creates a lambda function expression.
lambdaFunction(LSLambdaFunction1) - Method in class localsolver.LSModel
Creates a lambda function expression.
lambdaFunction(LSLambdaFunction2) - Method in class localsolver.LSModel
Creates a lambda function expression.
lambdaFunction(LSLambdaFunction3) - Method in class localsolver.LSModel
Creates a lambda function expression.
leq(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression less than or equal to.
leq(LSExpression, long) - Method in class localsolver.LSModel
Creates an inequality expression less than or equal to.
leq(long, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression less than or equal to.
leq(LSExpression, double) - Method in class localsolver.LSModel
Creates an inequality expression less than or equal to.
leq(double, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression less than or equal to.
listVar(long) - Method in class localsolver.LSModel
Creates a list decision with the given length.
loadEnvironment(String) - Method in class localsolver.LocalSolver
Import a complete environment or a model from a file.
loadModule(String) - Method in class localsolver.modeler.LSPModeler
Loads a program written in LSP format into a LSPModule whose name corresponds to the provided filename (without path and .lsp extension).
localsolver - package localsolver
Contains classes for building and solving mathematical models using LocalSolver.
LocalSolver - Class in localsolver
LocalSolver environment.
LocalSolver() - Constructor for class localsolver.LocalSolver
Constructs a complete LocalSolver environment and takes a token license.
localsolver.modeler - package localsolver.modeler
Contains classes for creating and interacting with a VM capable of executing programs written in LSP format.
log(LSExpression) - Method in class localsolver.LSModel
Creates a log expression.
LSArray - Class in localsolver
Value type for array expressions.
LSCallback - Interface in localsolver
LSCallback interface.
LSCallbackType - Enum in localsolver
List of types that can be used with callbacks.
LSCollection - Class in localsolver
Value type for collection expressions (lists or sets).
LSDoubleArrayExternalFunction - Interface in localsolver
Double array external function interface.
LSDoubleExternalFunction - Interface in localsolver
Double external function interface.
LSErrorCode - Enum in localsolver
List of error codes used by LSException.
LSEvaluationPoint - Class in localsolver
An evaluation point associated with an external function with surrogate modeling.
LSException - Exception in localsolver
LocalSolver exception.
LSExpression - Class in localsolver
Mathematical modeling expression.
LSExternalArgumentValues - Class in localsolver
Argument values for external functions.
LSExternalContext - Class in localsolver
Context of an external function.
LSInconsistency - Class in localsolver
Inconsistency core of the optimization model.
LSIntArrayExternalFunction - Interface in localsolver
Integer array external function interface.
LSIntExternalFunction - Interface in localsolver
Integer external function interface.
LSLambdaFunction - Interface in localsolver
Lambda function interface.
LSLambdaFunction0 - Interface in localsolver
Lambda function interface.
LSLambdaFunction1 - Interface in localsolver
Lambda function interface.
LSLambdaFunction2 - Interface in localsolver
Lambda function interface.
LSLambdaFunction3 - Interface in localsolver
Lambda function interface.
LSModel - Class in localsolver
Mathematical optimization model.
LSObjectiveDirection - Enum in localsolver
Objective directions.
LSOperator - Enum in localsolver
Mathematical operators available for modeling.
LSParam - Class in localsolver
Solving parameters.
LSPFunction - Class in localsolver.modeler
A function can be either user-defined function or built-in function.
LSPFunctor - Interface in localsolver.modeler
External modeler function interface.
LSPhase - Class in localsolver
Optimization phase.
LSPMap - Class in localsolver.modeler
An LSPMap is a data structure mapping keys to values.
LSPMap.Entry - Class in localsolver.modeler
An LSPMap entry (key, value) pair.
LSPModeler - Class in localsolver.modeler
Modeler environment.
LSPModeler() - Constructor for class localsolver.modeler.LSPModeler
Constructs a complete modeler environment.
LSPModule - Class in localsolver.modeler
A module is a collection of global variables.
LSPType - Enum in localsolver.modeler
Modeler types available in this API.
LSPValue - Class in localsolver.modeler
General value container.
LSSolution - Class in localsolver
Solution to the optimization model.
LSSolutionStatus - Enum in localsolver
Solution status: Optimal, Feasible, Infeasible or Inconsistent.
LSState - Enum in localsolver
State of LocalSolver environment.
LSStatistics - Class in localsolver
Statistics of the search.
LSSurrogateParameters - Class in localsolver
Parameters specific to the surrogate modeling feature.
LSVersion - Class in localsolver
Version, license and copyright info.
LSVersion() - Constructor for class localsolver.LSVersion
 
lt(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression less than.
lt(LSExpression, long) - Method in class localsolver.LSModel
Creates an inequality expression less than.
lt(long, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression less than.
lt(LSExpression, double) - Method in class localsolver.LSModel
Creates an inequality expression less than.
lt(double, LSExpression) - Method in class localsolver.LSModel
Creates an inequality expression less than.

M

max() - Method in class localsolver.LSModel
Creates a maximum expression.
max(long) - Method in class localsolver.LSModel
Creates a maximum expression.
max(double) - Method in class localsolver.LSModel
Creates a maximum expression.
max(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a maximum expression.
max(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a maximum expression.
max(LSExpression...) - Method in class localsolver.LSModel
Creates a maximum expression.
max(LSExpression, long) - Method in class localsolver.LSModel
Creates a maximum expression.
max(long, LSExpression) - Method in class localsolver.LSModel
Creates a maximum expression.
max(LSExpression, double) - Method in class localsolver.LSModel
Creates a maximum expression.
max(double, LSExpression) - Method in class localsolver.LSModel
Creates a maximum expression.
maximize(LSExpression) - Method in class localsolver.LSModel
Shortcut for addObjective(expr, OD_Maximize).
min() - Method in class localsolver.LSModel
Creates a minimum expression.
min(long) - Method in class localsolver.LSModel
Creates a minimum expression.
min(double) - Method in class localsolver.LSModel
Creates a minimum expression.
min(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a minimum expression.
min(LSExpression...) - Method in class localsolver.LSModel
Creates a minimum expression.
min(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a minimum expression.
min(LSExpression, long) - Method in class localsolver.LSModel
Creates a minimum expression.
min(long, LSExpression) - Method in class localsolver.LSModel
Creates a minimum expression.
min(LSExpression, double) - Method in class localsolver.LSModel
Creates a minimum expression.
min(double, LSExpression) - Method in class localsolver.LSModel
Creates a minimum expression.
minimize(LSExpression) - Method in class localsolver.LSModel
Shortcut for addObjective(expr, OD_Minimize).
mod(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a modulo expression.
mod(LSExpression, long) - Method in class localsolver.LSModel
Creates a modulo expression.
mod(long, LSExpression) - Method in class localsolver.LSModel
Creates a modulo expression.

N

neq(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a disequality expression.
neq(LSExpression, long) - Method in class localsolver.LSModel
Creates a disequality expression.
neq(long, LSExpression) - Method in class localsolver.LSModel
Creates a disequality expression.
neq(LSExpression, double) - Method in class localsolver.LSModel
Creates a disequality expression.
neq(double, LSExpression) - Method in class localsolver.LSModel
Creates a disequality expression.
not(LSExpression) - Method in class localsolver.LSModel
Creates a NOT expression.

O

open() - Method in class localsolver.LSModel
Reopens the model.
or() - Method in class localsolver.LSModel
Creates a OR expression.
or(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a OR expression.
or(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a OR expression.
or(LSExpression...) - Method in class localsolver.LSModel
Creates a OR expression.

P

parseArguments(List<String>) - Method in class localsolver.modeler.LSPModule
Parses the list of arguments and import them in the module.
parseArguments(String...) - Method in class localsolver.modeler.LSPModule
Parses the list of arguments and import them in the module.
partition() - Method in class localsolver.LSModel
Creates a partition expression.
partition(LSExpression...) - Method in class localsolver.LSModel
Creates a partition expression.
partition(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a partition expression.
partition(LSExpression) - Method in class localsolver.LSModel
Creates a partition expression.
piecewise(LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a piecewise linear expression.
pow(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a power expression.
pow(LSExpression, long) - Method in class localsolver.LSModel
Creates a power expression.
pow(long, LSExpression) - Method in class localsolver.LSModel
Creates a power expression.
pow(LSExpression, double) - Method in class localsolver.LSModel
Creates a power expression.
pow(double, LSExpression) - Method in class localsolver.LSModel
Creates a power expression.
prod() - Method in class localsolver.LSModel
Creates a product expression.
prod(long) - Method in class localsolver.LSModel
Creates a product expression.
prod(double) - Method in class localsolver.LSModel
Creates a product expression.
prod(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a product expression.
prod(LSExpression...) - Method in class localsolver.LSModel
Creates a product expression.
prod(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a product expression.
prod(LSExpression, long) - Method in class localsolver.LSModel
Creates a product expression.
prod(long, LSExpression) - Method in class localsolver.LSModel
Creates a product expression.
prod(LSExpression, double) - Method in class localsolver.LSModel
Creates a product expression.
prod(double, LSExpression) - Method in class localsolver.LSModel
Creates a product expression.

R

range(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a range expression, where a is the lower bound (inclusive) and b is the upper bound (exclusive).
range(LSExpression, long) - Method in class localsolver.LSModel
Creates a range expression, where a is the lower bound (inclusive) and b is the upper bound (exclusive).
range(long, LSExpression) - Method in class localsolver.LSModel
Creates a range expression, where a is the lower bound (inclusive) and b is the upper bound (exclusive).
range(long, long) - Method in class localsolver.LSModel
Creates a range expression, where a is the lower bound (inclusive) and b is the upper bound (exclusive).
removeCallback(LSCallbackType, LSCallback) - Method in class localsolver.LocalSolver
Removes the callback for the given event type.
removeConstraint(LSExpression) - Method in class localsolver.LSModel
Removes the given expression from the list of constraints.
removeConstraint(int) - Method in class localsolver.LSModel
Removes the constraint at the given position in the list of constraints.
removeObjective(int) - Method in class localsolver.LSModel
Removes the objective at the given position in the list of objectives.
round(LSExpression) - Method in class localsolver.LSModel
Creates a rounding expression.
run() - Method in class localsolver.modeler.LSPModule
Entry point to the execution of a module.
run(List<String>) - Method in class localsolver.modeler.LSPModule
Entry point to the execution of a module.
run(String...) - Method in class localsolver.modeler.LSPModule
Entry point to the execution of a module.

S

saveEnvironment(String) - Method in class localsolver.LocalSolver
Export a complete environment or a model to a file.
scalar(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates an expression for the scalar product between two arrays.
setAdvancedParam(String, int) - Method in class localsolver.LSParam
Sets the value of an advanced parameter.
setAdvancedParam(String, double) - Method in class localsolver.LSParam
Reserved for maintenance purpose.
setAdvancedParam(String, String) - Method in class localsolver.LSParam
Reserved for maintenance purpose.
setAnnealingLevel(int) - Method in class localsolver.LSParam
Deprecated.
As of 8.5, this parameter doesn't have a significant influence on the search anymore. The tuning of this parameter won't be allowed in a future version.
setArgument(int, long) - Method in class localsolver.LSEvaluationPoint
Sets the value of the argument at the given position.
setArgument(int, double) - Method in class localsolver.LSEvaluationPoint
Sets the value of the argument at the given position.
setBool(String, boolean) - Method in class localsolver.modeler.LSPMap
Associates the boolean value to the given key in the map.
setBool(long, boolean) - Method in class localsolver.modeler.LSPMap
Associates the boolean value to the given key in the map.
setBool(LSPValue, boolean) - Method in class localsolver.modeler.LSPMap
Associates the boolean value to the given key in the map.
setBool(String, boolean) - Method in class localsolver.modeler.LSPModule
Sets the boolean value associated with the variable with the given name.
setDouble(String, double) - Method in class localsolver.modeler.LSPMap
Associates the double value to the given key in the map.
setDouble(long, double) - Method in class localsolver.modeler.LSPMap
Associates the double value to the given key in the map.
setDouble(LSPValue, double) - Method in class localsolver.modeler.LSPMap
Associates the double value to the given key in the map.
setDouble(String, double) - Method in class localsolver.modeler.LSPModule
Sets the double value associated with the variable with the given name.
setDoubleLowerBound(double) - Method in class localsolver.LSExternalContext
Sets the lower bound of the external function.
setDoubleObjectiveThreshold(int, double) - Method in class localsolver.LSParam
Sets the threshold of the objective with the given index.
setDoubleUpperBound(double) - Method in class localsolver.LSExternalContext
Sets the upper bound of the external function.
setDoubleValue(double) - Method in class localsolver.LSExpression
Sets the value of this expression in the current solution found by the solver.
setDoubleValue(LSExpression, double) - Method in class localsolver.LSSolution
Sets the value of the given expression in this solution.
setEnabled(boolean) - Method in class localsolver.LSPhase
Sets the enabled status of this phase.
setEvaluationLimit(int) - Method in class localsolver.LSSurrogateParameters
Sets the maximum number of evaluations.
setExpression(String, LSExpression) - Method in class localsolver.modeler.LSPMap
Associates the LSExpression to the given key in the map.
setExpression(long, LSExpression) - Method in class localsolver.modeler.LSPMap
Associates the LSExpression to the given key in the map.
setExpression(LSPValue, LSExpression) - Method in class localsolver.modeler.LSPMap
Associates the LSExpression to the given key in the map.
setExpression(String, LSExpression) - Method in class localsolver.modeler.LSPModule
Sets the LSExpression associated with the variable with the given name.
setFunction(String, LSPFunction) - Method in class localsolver.modeler.LSPMap
Associates the LSPFunction to the given key in the map.
setFunction(long, LSPFunction) - Method in class localsolver.modeler.LSPMap
Associates the LSPFunction to the given key in the map.
setFunction(LSPValue, LSPFunction) - Method in class localsolver.modeler.LSPMap
Associates the LSPFunction to the given key in the map.
setFunction(String, LSPFunction) - Method in class localsolver.modeler.LSPModule
Sets the LSPFunction associated with the variable with the given name.
setInt(String, long) - Method in class localsolver.modeler.LSPMap
Associates the integer value to the given key in the map.
setInt(long, long) - Method in class localsolver.modeler.LSPMap
Associates the integer value to the given key in the map.
setInt(LSPValue, long) - Method in class localsolver.modeler.LSPMap
Associates the integer value to the given key in the map.
setInt(String, long) - Method in class localsolver.modeler.LSPModule
Sets the integer value associated with the variable with the given name.
setIntLowerBound(long) - Method in class localsolver.LSExternalContext
Sets the lower bound of the external function.
setIntObjectiveThreshold(int, long) - Method in class localsolver.LSParam
Sets the threshold of the objective with the given index.
setIntUpperBound(long) - Method in class localsolver.LSExternalContext
Sets the upper bound of the external function.
setIntValue(long) - Method in class localsolver.LSExpression
Sets the value of this expression in the current solution found by the solver.
setIntValue(LSExpression, long) - Method in class localsolver.LSSolution
Sets the value of the given expression in this solution.
setIterationBetweenTicks(long) - Method in class localsolver.LSParam
Sets the number of iterations between two events of type LSCallbackType.IterationTicked.
setIterationLimit(long) - Method in class localsolver.LSParam
Sets the maximum number of iterations.
setIterationLimit(long) - Method in class localsolver.LSPhase
Sets the number of iterations of this phase.
setLicenseContent(String) - Static method in class localsolver.LSVersion
Changes the license content.
setLicensePath(String) - Static method in class localsolver.LSVersion
Changes the license path used by LocalSolver.
setLogFile(String) - Method in class localsolver.LSParam
Sets the path of the LocalSolver log file.
setLogWriter(PrintStream) - Method in class localsolver.LSParam
Sets the stream used by LocalSolver for its logging.
setLowerBound(long) - Method in class localsolver.LSExternalContext
Sets the lower bound of the external function.
setLowerBound(double) - Method in class localsolver.LSExternalContext
Sets the lower bound of the external function.
setMap(String, LSPMap) - Method in class localsolver.modeler.LSPMap
Associates the LSPMap to the given key in the map.
setMap(long, LSPMap) - Method in class localsolver.modeler.LSPMap
Associates the LSPMap to the given key in the map.
setMap(LSPValue, LSPMap) - Method in class localsolver.modeler.LSPMap
Associates the LSPMap to the given key in the map.
setMap(String, LSPMap) - Method in class localsolver.modeler.LSPModule
Sets the LSPMap associated with the variable with the given name.
setModule(String, LSPModule) - Method in class localsolver.modeler.LSPMap
Associates the LSPModule to the given key in the map.
setModule(long, LSPModule) - Method in class localsolver.modeler.LSPMap
Associates the LSPModule to the given key in the map.
setModule(LSPValue, LSPModule) - Method in class localsolver.modeler.LSPMap
Associates the LSPModule to the given key in the map.
setModule(String, LSPModule) - Method in class localsolver.modeler.LSPModule
Sets the LSPModule associated with the variable with the given name.
setName(String) - Method in class localsolver.LSExpression
Sets the name of this expression.
setNanable(boolean) - Method in class localsolver.LSExternalContext
Sets whether or not the function can return a NaN value.
setNbThreads(int) - Method in class localsolver.LSParam
Sets the number of threads used to parallelize the search.
setNil(String) - Method in class localsolver.modeler.LSPModule
Unsets the variable with the given name.
setObjectiveThreshold(int, long) - Method in class localsolver.LSParam
Sets the threshold of the objective with the given index.
setObjectiveThreshold(int, double) - Method in class localsolver.LSParam
Sets the threshold of the objective with the given index.
setOperand(int, LSExpression) - Method in class localsolver.LSExpression
Replaces the operand of the given index.
setOperand(int, long) - Method in class localsolver.LSExpression
Replaces the operand of the given index.
setOperand(int, double) - Method in class localsolver.LSExpression
Replaces the operand of the given index.
setOptimizedObjective(int) - Method in class localsolver.LSPhase
Sets the optimized objective of this phase.
setReturnValue(long) - Method in class localsolver.LSEvaluationPoint
Sets the return value of this evaluation point.
setReturnValue(double) - Method in class localsolver.LSEvaluationPoint
Sets the return value of this evaluation point.
setReturnValue(long[]) - Method in class localsolver.LSEvaluationPoint
Sets the return value of this evaluation point.
setReturnValue(double[]) - Method in class localsolver.LSEvaluationPoint
Sets the return value of this evaluation point.
setSeed(int) - Method in class localsolver.LSParam
Sets the seed of the pseudo-random number generator used by the solver.
setStdErr(PrintStream) - Method in class localsolver.modeler.LSPModeler
Sets the stream used by the modeler for its standard error output.
setStdOut(PrintStream) - Method in class localsolver.modeler.LSPModeler
Sets the stream used by the modeler for its standard output methods like print or println.
setString(String, String) - Method in class localsolver.modeler.LSPMap
Associates the String value to the given key in the map.
setString(long, String) - Method in class localsolver.modeler.LSPMap
Associates the String value to the given key in the map.
setString(LSPValue, String) - Method in class localsolver.modeler.LSPMap
Associates the String value to the given key in the map.
setString(String, String) - Method in class localsolver.modeler.LSPModule
Sets the string associated with the variable with the given name.
setTimeBetweenDisplays(int) - Method in class localsolver.LSParam
Sets the time in seconds between two consecutive displays in console while the solver is running.
setTimeBetweenTicks(int) - Method in class localsolver.LSParam
Sets the time in seconds between two events of type LSCallbackType.TimeTicked.
setTimeLimit(int) - Method in class localsolver.LSParam
Sets the time limit in seconds.
setTimeLimit(int) - Method in class localsolver.LSPhase
Sets the time limit of this phase in seconds.
setUpperBound(long) - Method in class localsolver.LSExternalContext
Sets the upper bound of the external function.
setUpperBound(double) - Method in class localsolver.LSExternalContext
Sets the upper bound of the external function.
setValue(long) - Method in class localsolver.LSExpression
Sets the value of this expression in the current solution found by the solver.
setValue(double) - Method in class localsolver.LSExpression
Sets the value of this expression in the current solution found by the solver.
setValue(LSExpression, long) - Method in class localsolver.LSSolution
Sets the value of the given expression in this solution.
setValue(LSExpression, double) - Method in class localsolver.LSSolution
Sets the value of the given expression in this solution.
setValue(String, LSPValue) - Method in class localsolver.modeler.LSPMap
Associates the LSPValue to the given key in the map.
setValue(long, LSPValue) - Method in class localsolver.modeler.LSPMap
Associates the LSPValue to the given key.
setValue(LSPValue, LSPValue) - Method in class localsolver.modeler.LSPMap
Associates the LSPValue to the given key in the map.
setValue(String, LSPValue) - Method in class localsolver.modeler.LSPModule
Sets the value associated with the variable with the given name.
setVar(long) - Method in class localsolver.LSModel
Creates a set decision with the given length.
setVerbosity(int) - Method in class localsolver.LSParam
Sets the verbosity level of the solver.
sin(LSExpression) - Method in class localsolver.LSModel
Creates a sine expression.
solve() - Method in class localsolver.LocalSolver
Solves the model.
sort(LSExpression) - Method in class localsolver.LSModel
Creates a sorted array, containing the same values as the array given as unique parameter, sorted in ascending order.
sqrt(LSExpression) - Method in class localsolver.LSModel
Creates a square root expression.
stop() - Method in class localsolver.LocalSolver
Aborts the resolution previously launched using LocalSolver.solve().
sub(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a substraction expression.
sub(long, LSExpression) - Method in class localsolver.LSModel
Creates a substraction expression.
sub(LSExpression, long) - Method in class localsolver.LSModel
Creates a substraction expression.
sub(double, LSExpression) - Method in class localsolver.LSModel
Creates a substraction expression.
sub(LSExpression, double) - Method in class localsolver.LSModel
Creates a substraction expression.
sum() - Method in class localsolver.LSModel
Creates a sum expression.
sum(long) - Method in class localsolver.LSModel
Creates a sum expression.
sum(double) - Method in class localsolver.LSModel
Creates a sum expression.
sum(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a sum expression.
sum(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a sum expression.
sum(LSExpression...) - Method in class localsolver.LSModel
Creates a sum expression.
sum(long, LSExpression) - Method in class localsolver.LSModel
Creates a sum expression.
sum(LSExpression, long) - Method in class localsolver.LSModel
Creates a sum expression.
sum(double, LSExpression) - Method in class localsolver.LSModel
Creates a sum expression.
sum(LSExpression, double) - Method in class localsolver.LSModel
Creates a sum expression.

T

tan(LSExpression) - Method in class localsolver.LSModel
Creates a tangent expression.
toString() - Method in class localsolver.LocalSolver
Returns a String representation of this LocalSolver environment.
toString() - Method in class localsolver.LSArray
Returns a string representation of the values in the array in the format "{ val0, val1, ..., valN }"
toString() - Method in class localsolver.LSCollection
Returns a string representation of the values in the collection in the format "{ val0, val1, ..., valN }"
toString() - Method in exception localsolver.LSException
Same as getMessage().
toString() - Method in class localsolver.LSExpression
 
toString() - Method in class localsolver.LSInconsistency
Returns a string representation of this inconsistency core.
toString() - Method in class localsolver.LSModel
Returns a String representation of this model.
toString() - Method in class localsolver.LSParam
Returns a String representation of these parameters.
toString() - Method in class localsolver.LSPhase
Returns a String representation of this phase.
toString() - Method in class localsolver.LSStatistics
Returns a String representation of the statistics.

U

unset(String) - Method in class localsolver.modeler.LSPMap
Unsets the given key in the map if present.
unset(long) - Method in class localsolver.modeler.LSPMap
Unsets the given key in the map if present.
unset(LSPValue) - Method in class localsolver.modeler.LSPMap
Unsets the given key in the map if present.
unset(String) - Method in class localsolver.modeler.LSPModule
Unsets the variable with the given name.

V

valueOf(String) - Static method in enum localsolver.LSCallbackType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum localsolver.LSErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum localsolver.LSObjectiveDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum localsolver.LSOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum localsolver.LSSolutionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum localsolver.LSState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum localsolver.modeler.LSPType
Returns the enum constant of this type with the specified name.
values() - Static method in enum localsolver.LSCallbackType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum localsolver.LSErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum localsolver.LSObjectiveDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum localsolver.LSOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum localsolver.LSSolutionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum localsolver.LSState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum localsolver.modeler.LSPType
Returns an array containing the constants of this enum type, in the order they are declared.

X

xor() - Method in class localsolver.LSModel
Creates a XOR expression.
xor(LSExpression...) - Method in class localsolver.LSModel
Creates a XOR expression.
xor(LSExpression, LSExpression) - Method in class localsolver.LSModel
Creates a XOR expression.
xor(Iterable<LSExpression>) - Method in class localsolver.LSModel
Creates a XOR expression.
A B C D E F G H I L M N O P R S T U V X 
Skip navigation links