A B C D E F G H I L M N O P R S T U V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abs(LSExpression) - Method in class localsolver.LSModel
-
Creates an absolute value expression.
- Abs - localsolver.LSOperator
-
Absolute value.
- add(long) - Method in class localsolver.LSCollection
-
Adds the given value to this collection.
- addArgument(double) - Method in class localsolver.LSEvaluationPoint
-
Adds a double argument with the given value.
- addArgument(long) - Method in class localsolver.LSEvaluationPoint
-
Adds an integer 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. - addModuleLookupPath(String) - Method in class localsolver.modeler.LSPModeler
-
Adds a new lookup path for modules.
- addObjective(LSExpression, LSObjectiveDirection) - Method in class localsolver.LSModel
-
Adds the given expression to the list of objectives to optimize.
- addOperand(double) - Method in class localsolver.LSExpression
-
Adds the given constant operand to this expression.
- addOperand(long) - Method in class localsolver.LSExpression
-
Adds the given constant operand to this expression.
- addOperand(LSExpression) - Method in class localsolver.LSExpression
-
Adds the given operand to this expression.
- addOperands(double...) - Method in class localsolver.LSExpression
-
Adds the given constant double operands to this expression.
- addOperands(long...) - Method in class localsolver.LSExpression
-
Adds the given constant integer operands to this expression.
- addOperands(Iterable<LSExpression>) - Method in class localsolver.LSExpression
-
Adds the given 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(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates an AND expression.
- and(LSExpression) - Method in class localsolver.LSModel
-
Creates an AND expression.
- and(LSExpression...) - Method in class localsolver.LSModel
-
Creates an AND expression.
- and(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an AND expression.
- And - localsolver.LSOperator
-
And.
- Api - localsolver.LSErrorCode
-
Code used for errors related to API functions.
- Argument - localsolver.LSOperator
-
Argument of a function.
- array() - Method in class localsolver.LSModel
-
Creates an array expression.
- array(double...) - Method in class localsolver.LSModel
-
Creates an array expression.
- array(float...) - Method in class localsolver.LSModel
-
Creates an 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(Object) - Method in class localsolver.LSModel
-
Creates an N-dimensional array expression.
- array(LSExpression...) - Method in class localsolver.LSModel
-
Creates an array expression.
- array(LSExpression, LSExpression, double) - Method in class localsolver.LSModel
-
Creates an array expression.
- array(LSExpression, LSExpression, long) - Method in class localsolver.LSModel
-
Creates an array expression.
- Array - localsolver.LSOperator
-
Array.
- 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, long) - Method in class localsolver.LSModel
-
Creates a "at" expression.
- at(LSExpression, LSExpression...) - Method in class localsolver.LSModel
-
Creates a "at" expression for N-dimensional array.
- At - localsolver.LSOperator
-
Returns the element at specific coordinates of an array or a list.
B
- Bool - localsolver.LSOperator
-
Boolean decision.
- boolVar() - Method in class localsolver.LSModel
-
Creates a boolean decision.
C
- call() - Method in interface localsolver.LSLambdaFunction0
-
Evaluates and returns the body of the function.
- call() - Method in class localsolver.LSModel
-
Creates a call expression.
- call() - Method in class localsolver.modeler.LSPFunction
-
Calls the function with no argument.
- call(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(List<LSPValue>) - Method in class localsolver.modeler.LSPFunction
-
Calls the function with the provided arguments.
- call(LSExpression) - Method in interface localsolver.LSLambdaFunction1
-
Evaluates and returns the body of the function.
- call(LSExpression) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSExpression[]) - Method in interface localsolver.LSLambdaFunction
-
Evaluates and returns the body of the function.
- call(LSExpression...) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSExpression, LSExpression) - Method in interface localsolver.LSLambdaFunction2
-
Evaluates and returns the body of the function.
- call(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSExpression, LSExpression, LSExpression) - Method in interface localsolver.LSLambdaFunction3
-
Evaluates and returns the body of the function.
- call(LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a call expression.
- 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(LSPModeler, List<LSPValue>) - Method in interface localsolver.modeler.LSPFunctor
-
The function to call with its arguments.
- call(LSPValue...) - Method in class localsolver.modeler.LSPFunction
-
Calls the function with the provided arguments.
- Call - localsolver.LSOperator
-
Call a particular function.
- callback(LocalSolver, LSCallbackType) - Method in interface localsolver.LSCallback
-
The function that will be called during LocalSolver search.
- Callback - localsolver.LSErrorCode
-
Code used when an error is encountered in a user callback.
- ceil(LSExpression) - Method in class localsolver.LSModel
-
Creates a ceil expression.
- Ceil - localsolver.LSOperator
-
Ceil.
- 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.
- clearModuleLookupPaths() - Method in class localsolver.modeler.LSPModeler
-
Deletes all paths used to search for modules.
- 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.LSPFunction
-
Releases the reference.
- close() - Method in class localsolver.modeler.LSPMap
-
Releases the reference.
- close() - Method in class localsolver.modeler.LSPModeler
- close() - Method in class localsolver.modeler.LSPModule
-
Releases the reference.
- close() - Method in class localsolver.modeler.LSPReferenceScope
-
Releases all references associated with this scope.
- close() - Method in class localsolver.modeler.LSPValue
-
Releases the reference.
- Cloud - localsolver.LSErrorCode
-
Code used when an error is encountered while using the cloud service.
- computeInconsistency() - Method in class localsolver.LocalSolver
-
Computes an inconsistency core for this model.
- Const - localsolver.LSOperator
-
Constant.
- 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(long) - Method in class localsolver.LSInterval
-
Returns true if the interval 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.
- Contains - localsolver.LSOperator
-
Contains.
- copyTo(double[]) - Method in class localsolver.LSArray
-
Copy all the double values of this array to the given array.
- copyTo(double[]) - Method in class localsolver.LSExternalArgumentValues
-
Copy all the double values of the argument values to the given array.
- copyTo(long[]) - Method in class localsolver.LSArray
-
Copy all the integer 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.
- cos(LSExpression) - Method in class localsolver.LSModel
-
Creates a cosine expression.
- Cos - localsolver.LSOperator
-
Cosine.
- 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() - Method in class localsolver.LSInterval
-
Returns the number of elements in the interval.
- count() - Method in class localsolver.modeler.LSPMap
-
Returns the number of elements in the map.
- count(LSExpression) - Method in class localsolver.LSModel
-
Creates a count expression.
- Count - localsolver.LSOperator
-
The number of elements in an array, a collection or an interval.
- cover() - 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.
- cover(LSExpression...) - Method in class localsolver.LSModel
-
Creates a cover expression.
- Cover - localsolver.LSOperator
-
Cover.
- createBool(boolean) - Method in class localsolver.modeler.LSPModeler
-
Creates a boolean value.
- createConstant(double) - Method in class localsolver.LSModel
-
Creates a constant expression representing the given value.
- createConstant(long) - 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, double) - 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 operands.
- createExpression(LSOperator, double, double) - 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) - 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, float[]) - 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 operand.
- createExpression(LSOperator, long[]) - 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, 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) - 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, 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 operand.
- createExpression(LSOperator, 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, 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, long) - 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) - 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, LSExpression, LSExpression, long) - 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.
- 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(int, LSLambdaFunction) - Method in class localsolver.LSModel
-
Creates a lambda function with arguments.
- 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.
- 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.
- createSolver() - Method in class localsolver.modeler.LSPModeler
-
Returns a new LocalSolver instance that can be used to launch a module with the method
LSPModule.run(localsolver.LocalSolver, java.lang.Iterable<java.lang.String>)
. - 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.
- Deprecated - localsolver.LSOperator
-
Deprecated.This operator is deprecated. Using it will raise an error.
- disjoint() - 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.
- disjoint(LSExpression...) - Method in class localsolver.LSModel
-
Creates a disjoint expression.
- Disjoint - localsolver.LSOperator
-
Disjoint.
- Display - localsolver.LSCallbackType
-
Event that occurs regularly before, after and during the search to display useful information about the model and the resolution.
- dist(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a distance expression.
- dist(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a distance expression.
- Dist - localsolver.LSOperator
-
Distance between two numbers.
- distinct(LSExpression) - Method in class localsolver.LSModel
-
Creates an distinct expression.
- distinct(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an distinct expression.
- Distinct - localsolver.LSOperator
-
Returns the distinct values of the elements of an array, collection or interval.
- div(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a division expression.
- div(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a division expression.
- Div - localsolver.LSOperator
-
Division.
- Double - localsolver.modeler.LSPType
-
Double precision floating point numbers (stored on 64 bits) in IEEE 754 binary floating point representation.
- 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.
- end(LSExpression) - Method in class localsolver.LSModel
-
Creates an end expression.
- End - localsolver.LSOperator
-
The end of a non-void interval.
- eq(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an equality expression.
- eq(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an equality expression.
- Eq - localsolver.LSOperator
-
Equal.
- 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.LSInterval
- 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.
- Exp - localsolver.LSOperator
-
Base-e exponential.
- Expression - localsolver.modeler.LSPType
-
LSExpressions are the variables and the expressions of the mathematical model defined by the LSP program or directly in the LocalSolver API.
- ExternalFunction - localsolver.LSOperator
-
External function.
F
- Feasible - localsolver.LSSolutionStatus
-
Solution is feasible but optimality was not proven.
- File - localsolver.LSErrorCode
-
Code used when an error related to input/output operations occurs.
- find(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a find expression.
- find(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a find expression.
- Find - localsolver.LSOperator
-
Find.
- Float - localsolver.LSOperator
-
Float decision.
- floatVar(double, double) - Method in class localsolver.LSModel
-
Creates a float decision.
- floor(LSExpression) - Method in class localsolver.LSModel
-
Creates a floor expression.
- Floor - localsolver.LSOperator
-
Floor.
- Function - localsolver.modeler.LSPType
-
Function of the modeler.
G
- geq(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than or equal to.
- geq(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than or equal to.
- Geq - localsolver.LSOperator
-
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, double) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAdvancedParam(String, int) - 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() - 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.LSArray
-
Returns the array value at the given position.
- 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(long) - Method in class localsolver.modeler.LSPMap
-
Returns the boolean value associated with the given key.
- getBool(String) - 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.
- getBool(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the boolean value associated with the given key.
- 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.LSArray
-
Returns the collection value at the given position.
- 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(long) - Method in class localsolver.modeler.LSPMap
-
Returns the double value associated with the given key.
- getDouble(String) - 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.
- getDouble(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the double value associated with the given key.
- 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() - 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.LSArray
-
Returns the double value at the given position.
- 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.
- getEnd() - Method in class localsolver.LSInterval
-
Returns the end of the interval.
- 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(long) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSExpression
associated with the given key. - 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(String) - Method in class localsolver.modeler.LSPModule
-
Returns the
LSExpression
with the given name. - getExpression(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSExpression
associated with the given key. - 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(long) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSPFunction
associated with the given key. - getFunction(String) - 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. - getFunction(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSPFunction
associated with the given key. - 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(long) - Method in class localsolver.modeler.LSPMap
-
Returns the integer value associated with the given key.
- getInt(String) - 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.
- getInt(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the integer value associated with the given key.
- getIntArgument(int) - Method in class localsolver.LSEvaluationPoint
-
Returns the value of the argument at the given position.
- getIntervalValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the solver.
- getIntervalValue(int) - Method in class localsolver.LSArray
-
Returns the interval value at the given position.
- getIntervalValue(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns the interval value at the given position.
- getIntervalValue(LSExpression) - Method in class localsolver.LSSolution
-
Returns the value of the given expression in this solution.
- 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() - 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.LSArray
-
Returns the integer value at the given position.
- 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)
or the LS_LICENSE_CONTENT environment variable. - 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(long) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSPMap
associated with the given key. - getMap(String) - 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. - getMap(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSPMap
associated with the given key. - 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(long) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSPModule
associated with the given key. - getModule(String) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSPModule
associated with the given key. - getModule(String) - Method in class localsolver.modeler.LSPModeler
-
Returns the module with the given name.
- getModule(String) - Method in class localsolver.modeler.LSPModule
-
Returns the
LSPModule
with the given name. - getModule(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the
LSPModule
associated with the given key. - 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.
- getObjectiveGap(int) - Method in class localsolver.LSSolution
-
Returns the gap computed by the solver for the given objective.
- 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.
- getStart() - Method in class localsolver.LSInterval
-
Returns the start of the interval.
- 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
orprintln
. - getString(long) - Method in class localsolver.modeler.LSPMap
-
Returns the String value associated with the given key.
- getString(String) - 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.
- getString(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the String value associated with the given key.
- 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() - Method in class localsolver.modeler.LSPValue
-
Returns the type of the value.
- getType(String) - Method in class localsolver.modeler.LSPModule
-
Returns the type of the variable with the given name.
- getValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the solver.
- getValue() - Method in class localsolver.modeler.LSPMap.Entry
-
Returns the value corresponding to this entry.
- getValue(long) - Method in class localsolver.modeler.LSPMap
-
Returns the value associated with the given key as an
LSPValue
. - getValue(String) - 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. - getValue(LSExpression) - Method in class localsolver.LSSolution
-
Returns the value of the given expression in this solution.
- getValue(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Returns the value associated with the given key as an
LSPValue
. - 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(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than.
- gt(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than.
- Gt - localsolver.LSOperator
-
Strictly 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.LSInterval
- 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
- If - localsolver.LSOperator
-
If-Then-Else.
- iif(LSExpression, double, 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, long, 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, LSExpression, double) - 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, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- Inconsistent - localsolver.LSSolutionStatus
-
Solution and model are inconsistent.
- indexOf(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an indexOf expression.
- indexOf(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an indexOf expression.
- IndexOf - localsolver.LSOperator
-
The index of a value in a list (-1 if the value is not in the list).
- Infeasible - localsolver.LSSolutionStatus
-
Solution is infeasible (some constraints are violated).
- Int - localsolver.LSOperator
-
Integer decision variable.
- Int - localsolver.modeler.LSPType
-
Integers are positive and negative integral numbers stored on 64 bits.
- intArrayExternalFunction(LSIntArrayExternalFunction) - Method in class localsolver.LSModel
-
Creates an external function expression.
- Internal - localsolver.LSErrorCode
-
Internal LocalSolver error.
- intersection(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an intersection expression.
- Intersection - localsolver.LSOperator
-
Returns the intersection between an array/collection and an array/collection.
- Interval - localsolver.LSOperator
-
Interval decision variable.
- intervalVar(long, long) - Method in class localsolver.LSModel
-
Creates an interval decision included in [minStart, maxEnd).
- 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() - Method in class localsolver.LSExpression
-
Returns true if this expression is an array, false otherwise.
- isArray(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is an array.
- 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() - Method in class localsolver.LSExpression
-
Returns true if this expression is a boolean (ie 0 or 1), false otherwise.
- isBool() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is a boolean value.
- isBool(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is a boolean.
- 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.
- 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.LSArray
-
Returns true if the value at the given position is a collection (list or set).
- 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(int) - Method in class localsolver.modeler.LSPMap
-
Returns true if the given key is defined in the map.
- isDefined(String) - 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.
- isDegenerate() - Method in class localsolver.LSInterval
-
Returns true if the interval is degenerate.
- isDouble() - Method in class localsolver.LSExpression
-
Returns true if this expression is a double, false otherwise.
- isDouble() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is a double value.
- isDouble(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is a double.
- 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.
- 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() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is an LSExpression.
- isExpression(String) - Method in class localsolver.modeler.LSPModule
-
Returns true if the variable with the given name exists and holds an
LSExpression
. - isFunction() - Method in class localsolver.LSExpression
-
Returns true if this expression is a function, false otherwise.
- isFunction() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is a LSPFunction.
- isFunction(String) - Method in class localsolver.modeler.LSPModule
-
Returns true if the variable with the given name exists and holds an
LSPFunction
. - isInt() - Method in class localsolver.LSExpression
-
Returns true if this expression is an integer, false otherwise.
- isInt() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is an integer value.
- isInt(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is an integer.
- 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.
- isIntArgument(int) - Method in class localsolver.LSEvaluationPoint
-
Returns true if the argument at this given position is an integer, false otherwise.
- isInterval() - Method in class localsolver.LSExpression
-
Returns true if this expression is an interval, false otherwise.
- isInterval(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is an interval.
- isInterval(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns true if the value at the given position is an interval.
- isIntReturnValue() - Method in class localsolver.LSEvaluationPoint
-
Returns true if the external function associated with this evaluation point is an integer function, false otherwise.
- isMap() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is an LSPMap.
- isMap(String) - Method in class localsolver.modeler.LSPModule
-
Returns true if the variable with the given name exists and holds an
LSPMap
. - isModule() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is an LSPModule.
- isModule(String) - Method in class localsolver.modeler.LSPModule
-
Returns true if the variable with the given name exists and holds 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() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is nil.
- 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.
- isObjective() - Method in class localsolver.LSExpression
-
Returns true if this expression is tagged as objective in the model, false otherwise.
- isString() - Method in class localsolver.modeler.LSPValue
-
Returns true if the value is a string.
- isString(String) - Method in class localsolver.modeler.LSPModule
-
Returns true if the variable with the given name exists and holds a string value.
- 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(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is undefined.
- 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.
- isVoid() - Method in class localsolver.LSInterval
-
Returns true if the interval is void.
- IterationTicked - localsolver.LSCallbackType
-
Event that occurs regularly during the resolution.
- iterator() - Method in class localsolver.LSCollection
-
Returns an iterator for the content of this collection.
- iterator() - Method in class localsolver.LSInterval
-
Returns an iterator for the content of this interval.
- 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.
- LambdaFunction - localsolver.LSOperator
-
Lambda function.
- length(LSExpression) - Method in class localsolver.LSModel
-
Creates a length expression.
- Length - localsolver.LSOperator
-
The length of a non-void interval.
- leq(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- Leq - localsolver.LSOperator
-
Lower than or equal to.
- License - localsolver.LSErrorCode
-
Code used when a problem related to licensing occurs.
- List - localsolver.LSOperator
-
A list is an ordered collection of integers within a range
[0, n-1]
wheren
is the unique argument of this operator. - 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, String) - Method in class localsolver.modeler.LSPModeler
-
Loads the module written LSP at the indicated location.
- 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.
- Log - localsolver.LSOperator
-
Natural logarithm (base-e).
- 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.
- LSInterval - Class in localsolver
-
Value type for interval expressions.
- LSInterval() - Constructor for class localsolver.LSInterval
- LSInterval(long, long) - Constructor for class localsolver.LSInterval
- 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.
- LSPReferenceScope - Class in localsolver.modeler
-
A LSPReferenceScope contains a collection of references that can be released together.
- LSPReferenceScope(LSPModeler) - Constructor for class localsolver.modeler.LSPReferenceScope
-
Create a new LSPReferenceScope object associated with the modeler in parameter.
- 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(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression less than.
- lt(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than.
- Lt - localsolver.LSOperator
-
Strictly lower than.
M
- Map - localsolver.modeler.LSPType
-
Maps are data structure matching some values to some keys.
- max() - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(double) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(long) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(long, 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...) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- Max - localsolver.LSOperator
-
Maximum.
- maximize(LSExpression) - Method in class localsolver.LSModel
-
Shortcut for addObjective(expr, OD_Maximize).
- Maximize - localsolver.LSObjectiveDirection
-
Maximization.
- min() - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(double) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(long) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression...) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- Min - localsolver.LSOperator
-
Minimum.
- minimize(LSExpression) - Method in class localsolver.LSModel
-
Shortcut for addObjective(expr, OD_Minimize).
- Minimize - localsolver.LSObjectiveDirection
-
Minimization.
- mod(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a modulo expression.
- mod(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a modulo expression.
- mod(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a modulo expression.
- Mod - localsolver.LSOperator
-
Modulo (remainder of the integer division).
- Model - localsolver.LSErrorCode
-
Code used when a problem related to the structure of the model occurs.
- Modeler - localsolver.LSErrorCode
-
Code used when an error is encountered in the modeler.
- Modeling - localsolver.LSState
-
Model is being built.
- Module - localsolver.modeler.LSPType
-
A module is a collection of global variables.
N
- neq(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a disequality expression.
- neq(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a disequality expression.
- Neq - localsolver.LSOperator
-
Not equal to.
- Nil - localsolver.modeler.LSPType
-
Nil is the equivalent of null in Java.
- not(LSExpression) - Method in class localsolver.LSModel
-
Creates a NOT expression.
- Not - localsolver.LSOperator
-
Not.
O
- open() - Method in class localsolver.LSModel
-
Reopens the model.
- Optimal - localsolver.LSSolutionStatus
-
Solution is optimal (all objective bounds are reached).
- or() - 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.
- or(LSExpression...) - Method in class localsolver.LSModel
-
Creates a OR expression.
- or(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a OR expression.
- Or - localsolver.LSOperator
-
Or.
- Other - localsolver.modeler.LSPType
-
Any other value used in the modeler but not exposed in this API (dates, files or streams for example).
P
- partition() - 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.
- partition(LSExpression...) - Method in class localsolver.LSModel
-
Creates a partition expression.
- Partition - localsolver.LSOperator
-
Partition.
- Paused - localsolver.LSState
-
Solver is paused.
- PhaseEnded - localsolver.LSCallbackType
-
Event that occurs when a phase ends.
- PhaseStarted - localsolver.LSCallbackType
-
Event that occurs when a phase is started.
- piecewise(LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a piecewise linear expression.
- Piecewise - localsolver.LSOperator
-
Piecewise-linear function operator.
- pow(double, LSExpression) - 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(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a power expression.
- pow(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a power expression.
- Pow - localsolver.LSOperator
-
Power operator.
- prod() - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(double) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(long) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(LSExpression) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(LSExpression...) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a product expression.
- prod(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a product expression.
- Prod - localsolver.LSOperator
-
Product.
R
- 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).
- 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(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(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 - localsolver.LSOperator
-
Range expression.
- removeCallback(LSCallbackType, LSCallback) - Method in class localsolver.LocalSolver
-
Removes the callback for the given event type.
- removeConstraint(int) - Method in class localsolver.LSModel
-
Removes the constraint at the given position in the list of constraints.
- removeConstraint(LSExpression) - Method in class localsolver.LSModel
-
Removes the given expression from 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.
- Round - localsolver.LSOperator
-
Round.
- run(LocalSolver, Iterable<String>) - Method in class localsolver.modeler.LSPModule
-
Starts the execution of the module using the solver passed in parameter.
- run(LocalSolver, String...) - Method in class localsolver.modeler.LSPModule
-
Starts the execution of the module using the solver passed in parameter.
- runMain(Iterable<String>) - Method in class localsolver.modeler.LSPModule
-
Runs the module in main mode.
- runMain(String...) - Method in class localsolver.modeler.LSPModule
-
Runs the module in main mode.
- Running - localsolver.LSState
-
Solver is running.
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.
- Scalar - localsolver.LSOperator
-
Scalar product.
- Set - localsolver.LSOperator
-
A set is an unordered collection of integers within a range
[0, n-1]
wheren
is the unique argument of this operator. - setAdvancedParam(String, double) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- setAdvancedParam(String, int) - Method in class localsolver.LSParam
-
Sets the value of an advanced parameter.
- 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, double) - Method in class localsolver.LSEvaluationPoint
-
Sets the value of the argument at the given position.
- setArgument(int, long) - Method in class localsolver.LSEvaluationPoint
-
Sets the value of the argument at the given position.
- setBool(long, 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.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.
- setBool(LSPValue, boolean) - Method in class localsolver.modeler.LSPMap
-
Associates the boolean 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(String, 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.
- setDouble(LSPValue, double) - Method in class localsolver.modeler.LSPMap
-
Associates the double value to the given key in the map.
- 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(long, 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.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. - setExpression(LSPValue, LSExpression) - Method in class localsolver.modeler.LSPMap
-
Associates the
LSExpression
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(String, 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. - setFunction(LSPValue, LSPFunction) - Method in class localsolver.modeler.LSPMap
-
Associates the
LSPFunction
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(String, 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.
- setInt(LSPValue, long) - Method in class localsolver.modeler.LSPMap
-
Associates the integer value to the given key in the map.
- setIntervalValue(LSExpression, LSInterval) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- setIntervalValue(LSInterval) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the solver.
- 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(double) - Method in class localsolver.LSExternalContext
-
Sets the lower bound of the external function.
- setLowerBound(long) - Method in class localsolver.LSExternalContext
-
Sets the lower bound of the external function.
- setMap(long, 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.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. - setMap(LSPValue, LSPMap) - Method in class localsolver.modeler.LSPMap
-
Associates the
LSPMap
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(String, 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. - setModule(LSPValue, LSPModule) - Method in class localsolver.modeler.LSPMap
-
Associates the
LSPModule
to the given key in the map. - 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, double) - Method in class localsolver.LSParam
-
Sets the threshold of the objective with the given index.
- setObjectiveThreshold(int, long) - Method in class localsolver.LSParam
-
Sets the threshold of the objective with the given index.
- setOperand(int, double) - 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, LSExpression) - 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(double) - 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(long[]) - 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
orprintln
. - setString(long, 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.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.
- setString(LSPValue, String) - Method in class localsolver.modeler.LSPMap
-
Associates the String value to the given key in the map.
- 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(double) - Method in class localsolver.LSExternalContext
-
Sets the upper bound of the external function.
- setUpperBound(long) - Method in class localsolver.LSExternalContext
-
Sets the upper bound of the external function.
- setValue(double) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the solver.
- setValue(long) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the solver.
- setValue(long, LSPValue) - Method in class localsolver.modeler.LSPMap
-
Associates the
LSPValue
to the given key. - setValue(String, 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.
- setValue(LSExpression, double) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- setValue(LSExpression, long) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- setValue(LSExpression, LSInterval) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- setValue(LSInterval) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the solver.
- setValue(LSPValue, LSPValue) - Method in class localsolver.modeler.LSPMap
-
Associates the
LSPValue
to the given key in the map. - 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.
- Sin - localsolver.LSOperator
-
Sine.
- solve() - Method in class localsolver.LocalSolver
-
Solves the model.
- Solver - localsolver.LSErrorCode
-
Code used when a problem occurs during the resolution.
- 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.
- sort(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a sorted array, containing the same values as the array given as first parameter, sorted in ascending order based on the values returned by the the lambda function given as second parameter.
- Sort - localsolver.LSOperator
-
Sort.
- sqrt(LSExpression) - Method in class localsolver.LSModel
-
Creates a square root expression.
- Sqrt - localsolver.LSOperator
-
Square root.
- start(LSExpression) - Method in class localsolver.LSModel
-
Creates a start expression.
- Start - localsolver.LSOperator
-
The start of a non-void interval.
- stop() - Method in class localsolver.LocalSolver
-
Aborts the resolution previously launched using
LocalSolver.solve()
. - Stopped - localsolver.LSState
-
Solver is stopped.
- String - localsolver.modeler.LSPType
-
A string is an immutable sequence of unicode characters.
- sub(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- Sub - localsolver.LSOperator
-
Substraction.
- sum() - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(double) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(long) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(long, 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(LSExpression...) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a sum expression.
- Sum - localsolver.LSOperator
-
Sum.
T
- tan(LSExpression) - Method in class localsolver.LSModel
-
Creates a tangent expression.
- Tan - localsolver.LSOperator
-
Tangent.
- TimeTicked - localsolver.LSCallbackType
-
Event that occurs regularly during the resolution.
- 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.LSInterval
-
Returns a string representation of the interval.
- 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(long) - Method in class localsolver.modeler.LSPMap
-
Unsets the given key in the map if present.
- unset(String) - 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.
- unset(LSPValue) - Method in class localsolver.modeler.LSPMap
-
Unsets the given key in the map if present.
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(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a XOR expression.
- xor(LSExpression) - 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 - localsolver.LSOperator
-
Exclusive or (also called "xor").
All Classes All Packages