public abstract class ModelFiniteIntervalSearcher extends Optimizer
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
Modifier and Type | Field and Description |
---|---|
protected IntervalDivider |
id
The IntervalDivider that performs the line search
|
done, EXCLUDING, FS, INCLUDING, LS, MAINITERATION, ORIGINAL, SUBITERATION, TRANSFORMED
Constructor and Description |
---|
ModelFiniteIntervalSearcher(GenOpt genOptData)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
initialize()
Initializes the IntervalDivider instance
|
int |
run(Point xIni)
Runs the optimization process until a termination criteria
is satisfied
|
algorithmRequiresUsageOfStepNumber, appendToOutputListing, checkMaxIteration, checkObjectiveFunctionValue, ensureOnlyContinuousParameters, ensureOnlyDiscreteParameters, getAbsAccuracyFunction, getDimensionContinuous, getDimensionDiscrete, getDimensionF, getDimensionX, getDiscreteValueDouble0, getDx, getDx0, getF, getF, getIndex0, getIndex0, getInputValueBoolean, getInputValueDouble, getInputValueDouble, getInputValueInteger, getInputValueInteger, getInputValueString, getInputValueString, getKindOfConstraint, getL, getLengthDiscrete, getMainIterationNumber, getMaximumThreadPoolSize, getMaxIterationNumber, getMinimumPoint, getMode, getObjectiveFunctionName, getOutputPath, getPointerToEqualPoints, getRelAccuracyFunction, getSimulationNumber, getStepNumber, getU, getVariableNameContinuous, getVariableNameDiscrete, getX0, getX0, goToEndOfCommandFile, increaseStepNumber, increaseStepNumber, isFeasible, isNextToken, maxIterationReached, mustStopOptimization, print, println, replace, report, reportCurrentLowestPoint, reportMinimum, resetStepNumber, roundCoordinates, run, setInfo, setMode, setNumberOfMatchingResults, setToFeasibleCoordinate, setToFeasibleCoordinate, setWarning, simulate, throwInputError, useStepNumber, writeStepNumber
protected IntervalDivider id
public ModelFiniteIntervalSearcher(GenOpt genOptData) throws OptimizerException, java.io.IOException, java.lang.Exception
genOptData
- The GenOpt object.OptimizerException
- if algorithm is used for problems
with more than 1 independent variable, or if
independent variable does not have a lower and upper boundjava.io.IOException
- if an I/O exception occursjava.lang.Exception
- if an exception occursprotected void initialize() throws java.lang.Exception, InputFormatException, OptimizerException
OptimizerException
java.lang.Exception
InputFormatException
OptimizerException
public int run(Point xIni) throws OptimizerException, java.lang.Exception
run
in class Optimizer
xIni
- initial point-1
if the maximum number of iteration
is exceeded
+1
if the required accuracy is reachedjava.lang.Exception
OptimizerException
InputFormatException
- if an InputFormatException occursjava.lang.NoSuchMethodException
- if a method that should be invoked could not be foundjava.lang.IllegalAccessException
- if an invoked method enforces Java language access
control and the underlying method is inaccessiblejava.lang.reflect.InvocationTargetException
- if an invoked method throws an exception