Package jline.opt.solver
Class LineOptSolverOptions
java.lang.Object
jline.opt.solver.LineOptSolverOptions
Configuration options for
LineOptSolver, mirroring the option dict of
native-Python LineOptSolver.defaultOptions(). Chained setters return
this.-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleintintdoubledouble'evolution', 'gradient', or 'auto'.doubleintdouble'worst' (minimax) or 'mean' (weighted) aggregation across scenarios.doubledoubleboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetFdStep(double v) setGradientRestarts(int v) setMaxIterations(int v) setMutation(double low, double high) setPenaltyWeight(double v) setPopsize(int v) setRecombination(double v) setSeed(long v) setTimeLimit(double v) setTolerance(double v) setVerbose(boolean v)
-
Field Details
-
strategy
-
popsize
public int popsize -
mutationLow
public double mutationLow -
mutationHigh
public double mutationHigh -
recombination
public double recombination -
tol
public double tol -
maxIterations
public int maxIterations -
timeLimit
public double timeLimit -
seed
-
verbose
public boolean verbose -
penaltyWeight
public double penaltyWeight -
scenarioAggregation
'worst' (minimax) or 'mean' (weighted) aggregation across scenarios. -
optimizer
'evolution', 'gradient', or 'auto'. -
fdStep
public double fdStep -
gradientRestarts
public int gradientRestarts
-
-
Constructor Details
-
LineOptSolverOptions
public LineOptSolverOptions()
-
-
Method Details
-
setStrategy
-
setPopsize
-
setMutation
-
setRecombination
-
setTolerance
-
setMaxIterations
-
setTimeLimit
-
setSeed
-
setVerbose
-
setPenaltyWeight
-
setScenarioAggregation
-
setOptimizer
-
setFdStep
-
setGradientRestarts
-