|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgenopt.algorithm.Optimizer
genopt.algorithm.util.gps.ModelGPS
genopt.algorithm.GPSCoordinateSearch
genopt.algorithm.GPSHookeJeeves
public class GPSHookeJeeves
Class for minimizing a function using the Hooke-Jeeves Generalized Pattern Search algorithm.
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2011, 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.
| Field Summary |
|---|
| Fields inherited from class genopt.algorithm.util.gps.ModelGPS |
|---|
basDirMat, checkObjFun, EMPTY_SEARCH_SET, FAIMOV, NEGDIR, nMaxSteRed, POSDIR, SUCMOV |
| Fields inherited from class genopt.algorithm.Optimizer |
|---|
done, EXCLUDING, FS, INCLUDING, LS, MAINITERATION, ORIGINAL, SUBITERATION, TRANSFORMED |
| Constructor Summary | |
|---|---|
GPSHookeJeeves(GenOpt genOptData)
Constructor |
|
GPSHookeJeeves(int meshSizeDivider,
int initialMeshSizeExponent)
Constructor used to run the algorithm in a hybrid algorithm for the last iterations. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class genopt.algorithm.GPSCoordinateSearch |
|---|
initializeBaseDirectionMatrix, localSearch |
| Methods inherited from class genopt.algorithm.util.gps.ModelGPS |
|---|
add, checkObjectiveFunctionValue, getClosestEuclideanMeshPoint, getDelta, getF, getIndexLowestFunctionValue, getInitialDelta, getIterationNumber, getMaximumNumberOfStepReduction, getMinimumPoint, getNumberOfStepReduction, haveSufficientDecrease, report, reportMinimum, reportMinimum, run, setMaximumNumberOfStepReduction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 GenOpt
SimulationInputException - if an error in writing the
simulation input file occurs
java.lang.NoSuchMethodException - if a method that should be invoked could not be found
java.lang.IllegalAccessException - if an invoked method enforces Java language access
control and the underlying method is inaccessible
InvocationTargetException - if an invoked method throws an exception
java.lang.Exception - if an I/O error in the simulation input file occurs
java.io.IOException
InputFormatException
public 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 file
OptimizerException
java.lang.Exception
java.io.IOException - if an I/O exception occurs
InputFormatException| Method Detail |
|---|
protected 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 size
null pointer
OptimizerException - if an OptimizerException occurs or
if the user required to stop GenOpt
SimulationInputException - if an error in writing the
simulation input file occurs
java.lang.NoSuchMethodException - if a method that should be invoked could not be found
java.lang.IllegalAccessException - if an invoked method enforces Java language access
control and the underlying method is inaccessible
InvocationTargetException - if an invoked method throws an exception
java.lang.Exception - if an I/O error in the simulation input file occurs
private 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 size
OptimizerException - if an OptimizerException occurs or
if the user required to stop GenOpt
SimulationInputException - if an error in writing the
simulation input file occurs
java.lang.NoSuchMethodException - if a method that should be invoked could not be found
java.lang.IllegalAccessException - if an invoked method enforces Java language access
control and the underlying method is inaccessible
InvocationTargetException - if an invoked method throws an exception
java.lang.Exception - if an I/O error in the simulation input file occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||