public class GPSHookeJeeves extends GPSCoordinateSearch
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.
basDirMat, checkObjFun, EMPTY_SEARCH_SET, FAIMOV, NEGDIR, nMaxSteRed, POSDIR, SUCMOVdone, EXCLUDING, FS, INCLUDING, LS, MAINITERATION, ORIGINAL, SUBITERATION, TRANSFORMED| Constructor and Description |
|---|
GPSHookeJeeves(GenOpt genOptData)
Constructor
|
GPSHookeJeeves(int meshSizeDivider,
int initialMeshSizeExponent)
Constructor used to run the algorithm in a hybrid algorithm for the
last iterations.
|
| Modifier and Type | Method and Description |
|---|---|
private Point[] |
explore(Point xBas,
double delta)
Makes the exploration search
|
protected Point[] |
globalSearch(Point[] x,
double delta)
Method for the global search (this method returns always
null. |
initializeBaseDirectionMatrix, localSearchadd, checkObjectiveFunctionValue, getClosestEuclideanMeshPoint, getDelta, getF, getIndexLowestFunctionValue, getInitialDelta, getIterationNumber, getMaximumNumberOfStepReduction, getMinimumPoint, getNumberOfStepReduction, haveSufficientDecrease, report, reportMinimum, reportMinimum, run, setMaximumNumberOfStepReductionalgorithmRequiresUsageOfStepNumber, appendToOutputListing, checkMaxIteration, ensureOnlyContinuousParameters, ensureOnlyDiscreteParameters, getAbsAccuracyFunction, getDimensionContinuous, getDimensionDiscrete, getDimensionF, getDimensionX, getDiscreteValueDouble0, getDx, getDx0, getF, getIndex0, getIndex0, getInputValueBoolean, getInputValueDouble, getInputValueDouble, getInputValueInteger, getInputValueInteger, getInputValueString, getInputValueString, getKindOfConstraint, getL, getLengthDiscrete, getMainIterationNumber, getMaximumThreadPoolSize, getMaxIterationNumber, getMode, getObjectiveFunctionName, getOutputPath, getPointerToEqualPoints, getRelAccuracyFunction, getSimulationNumber, getStepNumber, getU, getVariableNameContinuous, getVariableNameDiscrete, getX0, getX0, goToEndOfCommandFile, increaseStepNumber, increaseStepNumber, isFeasible, isNextToken, maxIterationReached, mustStopOptimization, print, println, replace, reportCurrentLowestPoint, resetStepNumber, roundCoordinates, run, setInfo, setMode, setNumberOfMatchingResults, setToFeasibleCoordinate, setToFeasibleCoordinate, setWarning, simulate, throwInputError, useStepNumber, writeStepNumberpublic GPSHookeJeeves(GenOpt genOptData) throws OptimizerException, java.io.IOException, java.lang.Exception, InputFormatException
genOptData - a reference to the GenOpt object.OptimizerException - if an OptimizerException occurs or
if the user required to stop GenOptSimulationInputException - if an error in writing the
simulation input file 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 inaccessibleInvocationTargetException - if an invoked method throws an exceptionjava.lang.Exception - if an I/O error in the simulation input file occursjava.io.IOExceptionInputFormatExceptionpublic GPSHookeJeeves(int meshSizeDivider,
int initialMeshSizeExponent)
throws OptimizerException,
java.io.IOException,
java.lang.Exception,
InputFormatException
meshSizeDivider - the mesh size divider.
If set to Integer.MAX_VALUE, then
the value will be read from the command fileinitialMeshSizeExponent - the initial mesh size exponent.
If set to Integer.MAX_VALUE, then
the value will be read from the command fileOptimizerExceptionjava.lang.Exceptionjava.io.IOException - if an I/O exception occursInputFormatExceptionprotected Point[] globalSearch(Point[] x, double delta) throws SimulationInputException, OptimizerException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.Exception
null.globalSearch in class GPSCoordinateSearchx - Sequence of previous iteratesdelta - current mesh sizenull pointerOptimizerException - if an OptimizerException occurs or
if the user required to stop GenOptSimulationInputException - if an error in writing the
simulation input file 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 inaccessibleInvocationTargetException - if an invoked method throws an exceptionjava.lang.Exception - if an I/O error in the simulation input file occursprivate final Point[] explore(Point xBas, double delta) throws SimulationInputException, OptimizerException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.Exception
xBas - base point for the exploration searchdelta - current mesh sizeOptimizerException - if an OptimizerException occurs or
if the user required to stop GenOptSimulationInputException - if an error in writing the
simulation input file 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 inaccessibleInvocationTargetException - if an invoked method throws an exceptionjava.lang.Exception - if an I/O error in the simulation input file occurs