- call(LSBlackBoxArgumentValues) - Method in interface localsolver.LSDoubleBlackBoxFunction
-
The function to call.
- call(LSExternalArgumentValues) - Method in interface localsolver.LSDoubleExternalFunction
-
The function to call.
- call(LSExternalArgumentValues) - Method in interface localsolver.LSIntExternalFunction
-
The function to call.
- call(LSExpression[]) - Method in interface localsolver.LSLambdaFunction
-
Evaluate and returns the body of the function.
- call() - Method in interface localsolver.LSLambdaFunction0
-
Evaluate and returns the body of the function.
- call(LSExpression) - Method in interface localsolver.LSLambdaFunction1
-
Evaluate and returns the body of the function.
- call(LSExpression, LSExpression) - Method in interface localsolver.LSLambdaFunction2
-
Evaluate and returns the body of the function.
- call(LSExpression, LSExpression, LSExpression) - Method in interface localsolver.LSLambdaFunction3
-
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.
- 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.LSBlackBoxArgumentValues
-
Copy all the integer values of the argument to the given array.
- copyTo(double[]) - Method in class localsolver.LSBlackBoxArgumentValues
-
Copy all the double values of the arguments to the given array.
- copyTo(long[]) - Method in class localsolver.LSExternalArgumentValues
-
Copy all the integer values of the argument values to the given array.
- copyTo(double[]) - Method in class localsolver.LSExternalArgumentValues
-
Copy all the double values of the argument values to the given array.
- cos(LSExpression) - Method in class localsolver.LSModel
-
Creates a cosine expression.
- count() - Method in class localsolver.LSArray
-
Returns the number of elements in the array.
- count() - Method in class localsolver.LSBlackBoxArgumentValues
-
Returns the number of values in the current argument values.
- count() - Method in class localsolver.LSCollection
-
Returns the number of values in the collection.
- count() - Method in class localsolver.LSExternalArgumentValues
-
Returns the number of values in the current argument values.
- count(LSExpression) - Method in class localsolver.LSModel
-
Creates a count expression.
- 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.
- createDoubleBlackBoxFunction(LSDoubleBlackBoxFunction) - Method in class localsolver.LSModel
-
Creates a double black-box function.
- createDoubleExternalFunction(LSDoubleExternalFunction) - Method in class localsolver.LSModel
-
Creates a double external function.
- createExpression(LSOperator) - Method in class localsolver.LSModel
-
Creates an expression of the given type.
- createExpression(LSOperator, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operand.
- createExpression(LSOperator, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operand.
- createExpression(LSOperator, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operand.
- createExpression(LSOperator, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, long, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, long, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, LSExpression, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, long, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, long, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, LSExpression, long) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, double, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, double, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, LSExpression, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double, LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, double, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, double, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression, LSExpression, double) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, Iterable<LSExpression>) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, LSExpression...) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, int[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, long[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, float[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createExpression(LSOperator, double[]) - Method in class localsolver.LSModel
-
Creates an expression of the given type, with the given operands.
- createIntExternalFunction(LSIntExternalFunction) - Method in class localsolver.LSModel
-
Creates an integer external function.
- createLambdaFunction(LSLambdaFunction0) - Method in class localsolver.LSModel
-
Creates a lambda function without arguments.
- createLambdaFunction(LSLambdaFunction1) - Method in class localsolver.LSModel
-
Creates a lambda function with one arguments.
- createLambdaFunction(LSLambdaFunction2) - Method in class localsolver.LSModel
-
Creates a lambda function with two arguments.
- createLambdaFunction(LSLambdaFunction3) - Method in class localsolver.LSModel
-
Creates a lambda function with three arguments.
- createLambdaFunction(int, LSLambdaFunction) - Method in class localsolver.LSModel
-
Creates a lambda function with arguments.
- 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
-
Returns the value of an advanced parameter.
- getAdvancedParam(String, int) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAdvancedParam(String, double) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAdvancedParam(String, String) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- getAnnealingLevel() - Method in class localsolver.LSParam
-
- getArrayValue(int) - Method in class localsolver.LSArray
-
Returns the array value at the given position.
- getArrayValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the solver.
- getArrayValue(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns the array value at the given position.
- getArrayValue(LSExpression) - Method in class localsolver.LSSolution
-
Gets the value of this expression in the best solution found by the solver.
- getBlackBoxContext() - Method in class localsolver.LSExpression
-
Gets the black-box function context of this expression.
- getBuildDate() - Static method in class localsolver.LSVersion
-
Returns LocalSolver's build date.
- getCause(int) - Method in class localsolver.LSInconsistency
-
Gets the cause with the given index in this model.
- getCollectionValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the
solver.
- getCollectionValue(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns the collection value at the given position.
- getCollectionValue(LSExpression) - Method in class localsolver.LSSolution
-
Returns the value of the given expression in this solution.
- getConstraint(int) - Method in class localsolver.LSModel
-
Gets the constraint with the given index.
- getCopyright() - Static method in class localsolver.LSVersion
-
Returns LocalSolver's copyright as a string.
- getDecision(int) - Method in class localsolver.LSModel
-
Gets the decision with the given index.
- getDoubleLowerBound() - Method in class localsolver.LSBlackBoxContext
-
Gets the lower bound of the black-box function.
- 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.
- getDoubleUpperBound() - Method in class localsolver.LSBlackBoxContext
-
Gets the upper bound of the black-box function.
- getDoubleUpperBound() - Method in class localsolver.LSExternalContext
-
Gets the upper bound of the external function.
- getDoubleValue(int) - Method in class localsolver.LSArray
-
Returns the double value at the given position.
- getDoubleValue(int) - Method in class localsolver.LSBlackBoxArgumentValues
-
Returns the double value at the given position.
- getDoubleValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the
solver.
- getDoubleValue(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns the double value at the given position.
- getDoubleValue(LSExpression) - Method in class localsolver.LSSolution
-
Returns the value of the given expression in this solution.
- getErrorCode() - Method in exception localsolver.LSException
-
Returns the error code associated to this exception.
- getEvaluationLimit() - Method in class localsolver.LSBlackBoxContext
-
Returns the maximum number of black-box evaluations.
- 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.
- getExternalContext() - Method in class localsolver.LSExpression
-
Gets the external function context of this expression.
- 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() - Static method in class localsolver.LSVersion
-
Returns version and copyright info as a string.
- getIntLowerBound() - Method in class localsolver.LSBlackBoxContext
-
Gets the lower bound of the black-box function.
- 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.
- getIntUpperBound() - Method in class localsolver.LSBlackBoxContext
-
Gets the upper bound of the black-box function.
- getIntUpperBound() - Method in class localsolver.LSExternalContext
-
Gets the upper bound of the external function.
- getIntValue(int) - Method in class localsolver.LSArray
-
Returns the integer value at the given position.
- getIntValue(int) - Method in class localsolver.LSBlackBoxArgumentValues
-
Returns the integer value at the given position.
- getIntValue() - Method in class localsolver.LSExpression
-
Gets the value of this expression in the best solution found by the
solver.
- getIntValue(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns the integer value at the given position.
- getIntValue(LSExpression) - Method in class localsolver.LSSolution
-
Returns the value of the given expression in this solution.
- getIterationBetweenTicks() - Method in class localsolver.LSParam
-
- 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.LSBlackBoxArgumentValues
-
Returns the LocalSolver object associated to the argument values.
- 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 writer used by LocalSolver for its logging.
- 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 (0 coding for automatic setting).
- getObjective(int) - Method in class localsolver.LSModel
-
Gets the objective with the given index.
- getObjectiveBound(int) - Method in class localsolver.LSSolution
-
Returns the bound computed by the solver for the given objective.
- getObjectiveDirection(int) - Method in class localsolver.LSModel
-
Gets the direction of the objective with the given index.
- getObjectiveThreshold(int) - Method in class localsolver.LSParam
-
Gets the threshold of the objective with the given index.
- getOperand(int) - Method in class localsolver.LSExpression
-
Gets the operand with the given index.
- getOperator() - Method in class localsolver.LSExpression
-
Gets the operator of this expression.
- getOptimizedObjective() - Method in class localsolver.LSPhase
-
Gets the index of the optimized objective.
- getParam() - Method in class localsolver.LocalSolver
-
Gets the parameters of this LocalSolver environment.
- getPercentAcceptedMoves() - Method in class localsolver.LSStatistics
-
- 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.
- intExternalFunction(LSIntExternalFunction) - Method in class localsolver.LSModel
-
Creates an external function expression.
- intVar(long, long) - Method in class localsolver.LSModel
-
Creates an integer decision.
- isArray(int) - Method in class localsolver.LSArray
-
Returns true if the value at the given position is an array.
- isArray() - Method in class localsolver.LSExpression
-
Returns true if this expression is an array, false otherwise.
- isArray(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns true if the value at the given position is an array.
- 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.LSBlackBoxArgumentValues
-
Returns true if the value at the given position is a boolean.
- isBool() - Method in class localsolver.LSExpression
-
Returns true if this expression is a boolean (ie 0 or 1), false
otherwise.
- isBool(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns true if the value at the given position is a boolean.
- isClosed() - Method in class localsolver.LSModel
-
Returns true if the model is closed, false otherwise.
- isCollection() - Method in class localsolver.LSExpression
-
Returns true if this expression is a collection (list or set), false otherwise.
- isCollection(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns true if the value at the given position is a collection
(list or set).
- isConstant() - Method in class localsolver.LSExpression
-
Returns true if this expression is typed as constant in the model, false
otherwise.
- isConstraint() - Method in class localsolver.LSExpression
-
Returns true if this expression is tagged as constraint in the model,
false otherwise.
- isDecision() - Method in class localsolver.LSExpression
-
Returns true if this expression is typed as decision in the model, false
otherwise.
- 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.LSBlackBoxArgumentValues
-
Returns true if the value at the given position is a double.
- isDouble() - Method in class localsolver.LSExpression
-
Returns true if this expression is a double, false otherwise.
- isDouble(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns true if the value at the given position is a double.
- 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(int) - Method in class localsolver.LSBlackBoxArgumentValues
-
Returns true if the value at the given position is an integer.
- isInt() - Method in class localsolver.LSExpression
-
Returns true if this expression is an integer, false otherwise.
- isInt(int) - Method in class localsolver.LSExternalArgumentValues
-
Returns true if the value at the given position is an integer.
- isNamed() - Method in class localsolver.LSExpression
-
Returns true if this expression has a name, and false otherwise.
- isNanable() - Method in class localsolver.LSBlackBoxContext
-
Returns true if the function can return a NaN value.
- isNanable() - Method in class localsolver.LSExternalContext
-
Returns true if the function can return a NaN value.
- 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.
- lambdaFunction(int, LSLambdaFunction) - Method in class localsolver.LSModel
-
Creates a lambda function expression.
- lambdaFunction(LSLambdaFunction0) - Method in class localsolver.LSModel
-
Creates a lambda function expression.
- lambdaFunction(LSLambdaFunction1) - Method in class localsolver.LSModel
-
Creates a lambda function expression.
- lambdaFunction(LSLambdaFunction2) - Method in class localsolver.LSModel
-
Creates a lambda function expression.
- lambdaFunction(LSLambdaFunction3) - Method in class localsolver.LSModel
-
Creates a lambda function expression.
- leq(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(LSExpression, long) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(long, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(LSExpression, double) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- leq(double, LSExpression) - Method in class localsolver.LSModel
-
Creates an inequality expression less than or equal to.
- listVar(long) - Method in class localsolver.LSModel
-
Creates a list decision with the given length.
- loadEnvironment(String) - Method in class localsolver.LocalSolver
-
Import a complete environment or a model from a file.
- localsolver - package localsolver
-
- 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.
- LSBlackBoxArgumentValues - Class in localsolver
-
Argument values for black-box functions.
- LSBlackBoxContext - Class in localsolver
-
Context of a black-box function.
- 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).
- LSDoubleBlackBoxFunction - Interface in localsolver
-
Double black-box function interface.
- LSDoubleExternalFunction - Interface in localsolver
-
Double external function interface.
- LSErrorCode - Enum in localsolver
-
List of error codes used by LSException.
- 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.
- 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.
- 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.
- saveEnvironment(String) - Method in class localsolver.LocalSolver
-
Export a complete environment or a model to a file.
- scalar(LSExpression, LSExpression) - Method in class localsolver.LSModel
-
Creates an expression for the scalar product between two arrays.
- setAdvancedParam(String, int) - Method in class localsolver.LSParam
-
Sets the value of an advanced parameter.
- setAdvancedParam(String, double) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- setAdvancedParam(String, String) - Method in class localsolver.LSParam
-
Reserved for maintenance purpose.
- setAnnealingLevel(int) - Method in class localsolver.LSParam
-
- setDoubleLowerBound(double) - Method in class localsolver.LSBlackBoxContext
-
Sets the lower bound of the black-box function.
- 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.LSBlackBoxContext
-
Sets the upper bound of the black-box function.
- 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.LSBlackBoxContext
-
Sets the maximum number of black-box evaluations.
- setIntLowerBound(long) - Method in class localsolver.LSBlackBoxContext
-
Sets the lower bound of the black-box function.
- 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.LSBlackBoxContext
-
Sets the upper bound of the black-box function.
- 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
-
- 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(Writer) - Method in class localsolver.LSParam
-
Sets the writer used by LocalSolver for its logging.
- setLowerBound(long) - Method in class localsolver.LSBlackBoxContext
-
Sets the lower bound of the black-box function.
- setLowerBound(double) - Method in class localsolver.LSBlackBoxContext
-
Sets the lower bound of the black-box function.
- setLowerBound(long) - Method in class localsolver.LSExternalContext
-
Sets the lower bound of the external function.
- setLowerBound(double) - Method in class localsolver.LSExternalContext
-
Sets the lower bound of the external function.
- setName(String) - Method in class localsolver.LSExpression
-
Sets the name of this expression.
- setNanable(boolean) - Method in class localsolver.LSBlackBoxContext
-
Sets whether or not the function can return a NaN value.
- 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.
- 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.
- setUpperBound(long) - Method in class localsolver.LSBlackBoxContext
-
Sets the upper bound of the black-box function.
- setUpperBound(double) - Method in class localsolver.LSBlackBoxContext
-
Sets the upper bound of the black-box function.
- setUpperBound(long) - Method in class localsolver.LSExternalContext
-
Sets the upper bound of the external function.
- setUpperBound(double) - Method in class localsolver.LSExternalContext
-
Sets the upper bound of the external function.
- setValue(long) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the
solver.
- setValue(double) - Method in class localsolver.LSExpression
-
Sets the value of this expression in the current solution found by the
solver.
- setValue(LSExpression, long) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- setValue(LSExpression, double) - Method in class localsolver.LSSolution
-
Sets the value of the given expression in this solution.
- 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.