genopt.algorithm
Class GPSPSOCCHJ
java.lang.Object
genopt.algorithm.Optimizer
genopt.algorithm.util.pso.ModelPSO
genopt.algorithm.PSOCC
genopt.algorithm.PSOCCMesh
genopt.algorithm.GPSPSOCCHJ
public class GPSPSOCCHJ
- extends PSOCCMesh
Class for minimizing a function using a hybrid
GPS algorithm.
The GPS algorithm is initialized using a
Particle Swarm Optimization algorithm.
This project was carried out at:
and supported by
GenOpt 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.
- Version:
- GenOpt(R) 3.1.0 (December 8, 2011)
- Author:
- Michael Wetter
| Fields inherited from class genopt.algorithm.util.pso.ModelPSO |
CogAcc, CurPop, dimCon, dimDis, dimF, GloBes, IGen, LenBitStr, LocBes, MaxVelDis, NumGen, NumPar, RanGen, SocAcc, VelCon, VelDis, VelMaxCon |
|
Method Summary |
int |
run(Point x0)
Runs the optimization process until a termination criteria
is satisfied |
| Methods inherited from class genopt.algorithm.Optimizer |
algorithmRequiresUsageOfStepNumber, appendToOutputListing, checkMaxIteration, checkObjectiveFunctionValue, 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, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FinAlg
GPSHookeJeeves FinAlg
- Class for finishing the optimization
GPSPSOCCHJ
public GPSPSOCCHJ(GenOpt genOptData)
throws OptimizerException,
java.io.IOException,
java.lang.Exception,
InputFormatException
- Constructor
- Parameters:
genOptData - a reference to the GenOpt object.
Note: the object is used as a reference.
Hence, the data of GenOpt are modified
by this Class.
- Throws:
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
run
public int run(Point x0)
throws SimulationInputException,
OptimizerException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.Exception
- Runs the optimization process until a termination criteria
is satisfied
- Overrides:
run in class ModelPSO
- Parameters:
x0 - initial point
- Returns:
-1 if the maximum number of iteration
is exceeded
+1 if the required accuracy is reached
- Throws:
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