- abs(LSExpression) - Method in class localsolver.LSModel
-
Creates an absolute value expression.
- add(long) - Method in class localsolver.LSCollection
-
Adds the given value to this collection.
- 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.
- addObjective(LSExpression, LSObjectiveDirection) - Method in class localsolver.LSModel
-
Adds the given expression to the list of objectives to optimize.
- addOperand(LSExpression) - Method in class localsolver.LSExpression
-
Adds the given operand to this expression.
- addOperand(long) - Method in class localsolver.LSExpression
-
Adds the given constant operand to this expression.
- addOperand(double) - Method in class localsolver.LSExpression
-
Adds the given constant operand to this expression.
- addOperands(Iterable<LSExpression>) - Method in class localsolver.LSExpression
-
Adds the given operands to this expression.
- addOperands(long...) - Method in class localsolver.LSExpression
-
Adds the given constant integer operands to this expression.
- addOperands(double...) - Method in class localsolver.LSExpression
-
Adds the given constant double operands to this expression.
- addOperands(LSExpression...) - Method in class localsolver.LSExpression
-
Adds the given operands to this expression.
- and() - Method in class localsolver.LSModel
-
Creates an AND expression.
- and(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an AND expression.
- and(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates an AND expression.
- and(LSExpression...) - Method in class localsolver.LSModel
-
Creates an AND expression.
- array() - Method in class localsolver.LSModel
-
Creates an array expression.
- array(Object) - Method in class localsolver.LSModel
-
Creates an N-dimensional array expression.
- array(int...) - Method in class localsolver.LSModel
-
Creates an array expression.
- array(long...) - Method in class localsolver.LSModel
-
Creates an array expression.
- array(float...) - Method in class localsolver.LSModel
-
Creates an array expression.
- array(double...) - Method in class localsolver.LSModel
-
Creates an array expression.
- array(LSExpression...) - Method in class localsolver.LSModel
-
Creates an array expression.
- at(LSExpression, LSExpression...) - Method in class localsolver.LSModel
-
Creates a "at" expression for N-dimensional array.
- at(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a "at" expression.
- call(LSExpression[]) - Method in interface localsolver.LSFunction
-
Evaluate and returns the body of the function.
- call() - Method in interface localsolver.LSFunction0
-
Evaluate and returns the body of the function.
- call(LSExpression) - Method in interface localsolver.LSFunction1
-
Evaluate and returns the body of the function.
- call(LSExpression, LSExpression) - Method in interface localsolver.LSFunction2
-
Evaluate and returns the body of the function.
- call(LSExpression, LSExpression, LSExpression) - Method in interface localsolver.LSFunction3
-
Evaluate and returns the body of the function.
- call() - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSExpression) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSExpression...) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a call expression.
- call(LSNativeContext) - Method in interface localsolver.LSNativeFunction
-
The function to call.
- callback(LocalSolver, LSCallbackType) - Method in interface localsolver.LSCallback
-
The function that will be called during LocalSolver search.
- ceil(LSExpression) - Method in class localsolver.LSModel
-
Creates a ceil expression.
- clear() - Method in class localsolver.LSCollection
-
Removes all values of this collection.
- clear() - Method in class localsolver.LSSolution
-
Clears the solution and set all decisions to zero.
- close() - Method in class localsolver.LocalSolver
-
Deletes the LocalSolver objects and release the license token.
- close() - Method in class localsolver.LSModel
-
Closes the model.
- computeInconsistency() - Method in class localsolver.LocalSolver
-
Computes an inconsistency core for this model.
- constraint(LSExpression) - Method in class localsolver.LSModel
-
Shortcut for addConstraint(expr).
- contains(long) - Method in class localsolver.LSCollection
-
Returns true if the collection contains the given value, false otherwise.
- contains(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a contains expression.
- contains(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a contains expression.
- copyTo(long[]) - Method in class localsolver.LSNativeContext
-
Copy all the integer values of the native context to the given array.
- copyTo(double[]) - Method in class localsolver.LSNativeContext
-
Copy all the double values of the native context to the given array.
- cos(LSExpression) - Method in class localsolver.LSModel
-
Creates a cosine expression.
- count() - Method in class localsolver.LSArray
-
Returns the number of elements in the array.
- count() - Method in class localsolver.LSCollection
-
Returns the number of values in the collection.
- count(LSExpression) - Method in class localsolver.LSModel
-
Creates a count expression.
- count() - Method in class localsolver.LSNativeContext
-
Returns the number of values in the current context.
- createConstant(long) - Method in class localsolver.LSModel
-
Creates a constant expression representing the given value.
- createConstant(double) - Method in class localsolver.LSModel
-
Creates a constant expression representing the given value.
- createExpression(LSOperator) - Method in class localsolver.LSModel
-
Creates an expression of the given type.
- createExpression(LSOperator, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operand.
- createExpression(LSOperator, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operand.
- createExpression(LSOperator, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operand.
- createExpression(LSOperator, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, long, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, long, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, LSExpression, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, long, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, long, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, LSExpression, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, double, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, double, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, LSExpression, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, double, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, double, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, LSExpression, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression...) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, int[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, float[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createFunction(LSFunction0) - Method in class localsolver.LSModel
-
Creates a function without arguments.
- createFunction(LSFunction1) - Method in class localsolver.LSModel
-
Creates a function with one arguments A function is a particular
expression composed of two parts:
The arguments of the function (which are also LSExpressions of type
LSOperator.Argument.
The body of the function.
- createFunction(LSFunction2) - Method in class localsolver.LSModel
-
Creates a function with two arguments.
- createFunction(LSFunction3) - Method in class localsolver.LSModel
-
Creates a function with three arguments.
- createFunction(int, LSFunction) - Method in class localsolver.LSModel
-
Creates a function with arguments.
- createNativeFunction(LSNativeFunction) - Method in class localsolver.LSModel
-
Creates a native function.
- createPhase() - Method in class localsolver.LocalSolver
-
Adds a new phase to this LocalSolver environment.
- geq(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than or equal to.
- geq(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than or equal to.
- geq(long, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than or equal to.
- geq(LSExpression, double) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than or equal to.
- geq(double, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than or equal to.
- get(int) - Method in class localsolver.LSCollection
-
Gets the value at the given position.
- getAdvancedParam(String) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAdvancedParam(String, int) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAdvancedParam(String, double) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAdvancedParam(String, String) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAnnealingLevel() - Method in class localsolver.LSParam
-
- getArrayValue(int) - Method in class localsolver.LSArray
-
Returns the array value at the given position.
- getArrayValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the solver.
- getArrayValue(int) - Method in class localsolver.LSNativeContext
-
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.
- 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.LSNativeContext
-
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.
- 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.
- getDoubleValue(int) - Method in class localsolver.LSArray
-
Returns the double value at the given position.
- getDoubleValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the
solver.
- getDoubleValue(int) - Method in class localsolver.LSNativeContext
-
Returns the double value at the given position.
- getDoubleValue(LSExpression) - Method in class localsolver.LSSolution
-
Returns the value of the given expression in this solution.
- getErrorCode() - Method in exception localsolver.LSException
-
Returns the error code associated to this exception.
- getExplanation() - Method in exception localsolver.LSException
-
Gets the explanation about the exception.
- getExpression(int) - Method in class localsolver.LSModel
-
Gets the expression with the given index in this model.
- getExpression(String) - Method in class localsolver.LSModel
-
Gets the expression with the given index in this model.
- getFileName() - Method in exception localsolver.LSException
-
Gets the name of the LocalSolver source file where the exception is
thrown.
- 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() - Method in class localsolver.LocalSolver
-
Returns useful info about the search while running.
- getInfo() - Method in class localsolver.LSExpression
-
Returns useful info about this expression (according to the state of
LocalSolver).
- getInfo() - Method in class localsolver.LSStatistics
-
Returns useful info about the search while running.
- getInfo() - Static method in class localsolver.LSVersion
-
Returns version and copyright info as a string.
- 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.
- getIntValue(int) - Method in class localsolver.LSArray
-
Returns the integer value at the given position.
- getIntValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the
solver.
- getIntValue(int) - Method in class localsolver.LSNativeContext
-
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
-
- 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.
- getLicenseContent() - Static method in class localsolver.LSVersion
-
- 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.LSModel
-
Returns the LocalSolver object associated to this model.
- getLocalSolver() - Method in class localsolver.LSNativeContext
-
Returns the LocalSolver object associated to this context.
- 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.
- getMajorVersionNumber() - Static method in class localsolver.LSVersion
-
Returns LocalSolver's major version number.
- 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
-
- 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
-
- 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.
- getNbExpressions() - Method in class localsolver.LSModel
-
Gets the number of expressions added to this model.
- getNbImprovingMoves() - Method in class localsolver.LSStatistics
-
- getNbInfeasibleMoves() - Method in class localsolver.LSStatistics
-
- getNbIterations() - Method in class localsolver.LSStatistics
-
Gets the number of iterations.
- getNbMoves() - Method in class localsolver.LSStatistics
-
- 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
-
- getNbThreads() - Method in class localsolver.LSParam
-
Gets the number of threads requested by the user.
- getObjective(int) - Method in class localsolver.LSModel
-
Gets the objective with the given index.
- getObjectiveBound(int) - Method in class localsolver.LSSolution
-
Returns the bound computed by the solver for the given objective.
- getObjectiveDirection(int) - Method in class localsolver.LSModel
-
Gets the direction of the objective with the given index.
- getObjectiveThreshold(int) - Method in class localsolver.LSParam
-
Gets the threshold of the objective with the given index.
- getOperand(int) - Method in class localsolver.LSExpression
-
Gets the operand with the given index.
- getOperator() - Method in class localsolver.LSExpression
-
Gets the operator of this expression.
- getOptimizedObjective() - Method in class localsolver.LSPhase
-
Gets the index of the optimized objective.
- getParam() - Method in class localsolver.LocalSolver
-
Gets the parameters of this LocalSolver environment.
- getPercentAcceptedMoves() - Method in class localsolver.LSStatistics
-
- getPercentImprovingMoves() - Method in class localsolver.LSStatistics
-
- getPercentInfeasibleMoves() - Method in class localsolver.LSStatistics
-
- getPercentRejectedMoves() - Method in class localsolver.LSStatistics
-
- 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.
- 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.
- 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
-
- 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.
- getValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the
solver.
- getValue(LSExpression) - Method in class localsolver.LSSolution
-
Returns the value of the given expression in this solution.
- getVerbosity() - Method in class localsolver.LSParam
-
Gets the verbosity level of the solver.
- getVersion() - Static method in class localsolver.LSVersion
-
Returns LocalSolver's version as a string.
- getVersionCode() - Static method in class localsolver.LSVersion
-
Returns LocalSolver's version code as an integer in the range [0, 29999].
- gt(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than.
- gt(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than.
- gt(long, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than.
- gt(LSExpression, double) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than.
- gt(double, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression greater than.
- iif(LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- iif(LSExpression, LSExpression, long) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- iif(LSExpression, long, LSExpression) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- iif(LSExpression, long, long) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- iif(LSExpression, LSExpression, double) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- iif(LSExpression, double, LSExpression) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- iif(LSExpression, double, double) - Method in class localsolver.LSModel
-
Creates a ternary conditional expression.
- indexOf(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an indexOf expression.
- indexOf(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an indexOf expression.
- intVar(long, long) - Method in class localsolver.LSModel
-
Creates an integer decision.
- isArray(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is an array.
- isArray() - Method in class localsolver.LSExpression
-
Returns true if this expression is an array, false otherwise.
- isArray(int) - Method in class localsolver.LSNativeContext
-
Returns true if the value at the given position is an array.
- isBool(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is a boolean.
- isBool() - Method in class localsolver.LSExpression
-
Returns true if this expression is a boolean (ie 0 or 1), false
otherwise.
- isBool(int) - Method in class localsolver.LSNativeContext
-
Returns true if the value at the given position is a boolean.
- 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.LSNativeContext
-
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.
- isDouble(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is a double.
- isDouble() - Method in class localsolver.LSExpression
-
Returns true if this expression is a double, false otherwise.
- isDouble(int) - Method in class localsolver.LSNativeContext
-
Returns true if the value at the given position is a double.
- isEnabled() - Method in class localsolver.LSPhase
-
Returns true if the phase is enabled, False otherwise.
- isFunction() - Method in class localsolver.LSExpression
-
Returns true if this expression is a function, false otherwise.
- isInt(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is an integer.
- isInt() - Method in class localsolver.LSExpression
-
Returns true if this expression is an integer, false otherwise.
- isInt(int) - Method in class localsolver.LSNativeContext
-
Returns true if the value at the given position is an integer.
- isNamed() - Method in class localsolver.LSExpression
-
Returns true if this expression has a name, and false otherwise.
- isObjective() - Method in class localsolver.LSExpression
-
Returns true if this expression is tagged as objective in the model,
false otherwise.
- isUndefined() - Method in class localsolver.LSExpression
-
Returns true if the given expression has an undefined value in the best solution found by the solver.
- isUndefined(LSExpression) - Method in class localsolver.LSSolution
-
Returns true if the given expression has an undefined value in this solution.
- isViolated() - Method in class localsolver.LSExpression
-
Returns true if the given expression is violated in the best solution
found by the solver.
- isViolated(LSExpression) - Method in class localsolver.LSSolution
-
Returns true if the given expression is violated in this solution.
- iterator() - Method in class localsolver.LSCollection
-
Returns an iterator for the content of this collection.
- leq(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(long, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(LSExpression, double) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(double, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- listVar(long) - Method in class localsolver.LSModel
-
Creates a list decision with the given length.
- loadEnvironment(String) - Method in class localsolver.LocalSolver
-
Import a complete environment or a model from a file.
- localsolver - package localsolver
-
The classical version of LocalSolver is designed to solve large scale optimization problem in boolean, integer and continuous decisions.
- LocalSolver - Class in localsolver
-
LocalSolver environment.
- LocalSolver() - Constructor for class localsolver.LocalSolver
-
Constructs a complete LocalSolver environment and take a token license.
- log(LSExpression) - Method in class localsolver.LSModel
-
Creates a log expression.
- LSArray - Class in localsolver
-
Value type for array expressions.
- LSCallback - Interface in localsolver
-
LSCallback interface.
- LSCallbackType - Enum in localsolver
-
List of types that can be used with callbacks.
- LSCollection - Class in localsolver
-
Value type for collection expressions (lists or sets).
- LSErrorCode - Enum in localsolver
-
List of error codes used by LSException.
- LSException - Exception in localsolver
-
LocalSolver exception.
- LSExpression - Class in localsolver
-
Mathematical modeling expression.
- LSFunction - Interface in localsolver
-
Function interface.
- LSFunction0 - Interface in localsolver
-
Function interface.
- LSFunction1 - Interface in localsolver
-
Function interface.
- LSFunction2 - Interface in localsolver
-
Function interface.
- LSFunction3 - Interface in localsolver
-
Function interface.
- LSInconsistency - Class in localsolver
-
Inconsistency core of the optimization model.
- LSModel - Class in localsolver
-
Mathematical optimization model.
- LSNativeContext - Class in localsolver
-
Context for native functions.
- LSNativeFunction - Interface in localsolver
-
Native function interface.
- LSObjectiveDirection - Enum in localsolver
-
Objective directions.
- LSOperator - Enum in localsolver
-
Mathematical operators available for modeling.
- LSParam - Class in localsolver
-
Solving parameters.
- LSPhase - Class in localsolver
-
Optimization phase.
- 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.
- LSVersion - Class in localsolver
-
Version, license and copyright info.
- LSVersion() - Constructor for class localsolver.LSVersion
-
- lt(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than.
- lt(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression less than.
- lt(long, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than.
- lt(LSExpression, double) - Method in class localsolver.LSModel
-
Creates an inequality expression less than.
- lt(double, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than.
- max() - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(long) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(double) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(LSExpression...) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- max(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a maximum expression.
- maximize(LSExpression) - Method in class localsolver.LSModel
-
Shortcut for addObjective(expr, OD_Maximize).
- min() - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(long) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(double) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression...) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- min(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a minimum expression.
- minimize(LSExpression) - Method in class localsolver.LSModel
-
Shortcut for addObjective(expr, OD_Minimize).
- mod(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a modulo expression.
- mod(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a modulo expression.
- mod(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a modulo expression.
- saveEnvironment(String) - Method in class localsolver.LocalSolver
-
Export a complete environment or a model to a file.
- scalar(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression for the scalar product between two arrays.
- setAdvancedParam(String, int) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- setAdvancedParam(String, double) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- setAdvancedParam(String, String) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- setAnnealingLevel(int) - Method in class localsolver.LSParam
-
- setDoubleObjectiveThreshold(int, double) - Method in class localsolver.LSParam
-
Sets the threshold of the objective with the given index.
- 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.
- setIntObjectiveThreshold(int, long) - Method in class localsolver.LSParam
-
Sets the threshold of the objective with the given index.
- 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
-
- 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.
- setName(String) - Method in class localsolver.LSExpression
-
Sets the name of this expression.
- setNbThreads(int) - Method in class localsolver.LSParam
-
Sets the number of threads used to parallelize the search.
- setObjectiveThreshold(int, long) - Method in class localsolver.LSParam
-
Sets the threshold of the objective with the given index.
- setObjectiveThreshold(int, double) - Method in class localsolver.LSParam
-
Sets the threshold of the objective with the given index.
- setOperand(int, LSExpression) - Method in class localsolver.LSExpression
-
Replaces the operand of the given index.
- setOperand(int, long) - Method in class localsolver.LSExpression
-
Replaces the operand of the given index.
- setOperand(int, double) - Method in class localsolver.LSExpression
-
Replaces the operand of the given index.
- setOptimizedObjective(int) - Method in class localsolver.LSPhase
-
Sets the optimized objective of this phase.
- setSeed(int) - Method in class localsolver.LSParam
-
Sets the seed of the pseudo-random number generator used by the solver.
- 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
-
- 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.
- setValue(long) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the
solver.
- setValue(double) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the
solver.
- setValue(LSExpression, long) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- setValue(LSExpression, double) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- setVar(long) - Method in class localsolver.LSModel
-
Creates a set decision with the given length.
- setVerbosity(int) - Method in class localsolver.LSParam
-
Sets the verbosity level of the solver.
- sin(LSExpression) - Method in class localsolver.LSModel
-
Creates a sine expression.
- solve() - Method in class localsolver.LocalSolver
-
Solves the model.
- sqrt(LSExpression) - Method in class localsolver.LSModel
-
Creates a square root expression.
- stop() - Method in class localsolver.LocalSolver
-
- sub(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sub(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a substraction expression.
- sum() - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(long) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(double) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(LSExpression...) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(long, LSExpression) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(LSExpression, long) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(double, LSExpression) - Method in class localsolver.LSModel
-
Creates a sum expression.
- sum(LSExpression, double) - Method in class localsolver.LSModel
-
Creates a sum expression.