Cite Us
pyOpt

Table Of Contents

Previous topic

ALHSO - Augmented Lagrangian Harmony Search Optimizer

Next topic

License

MIDACO - Mixed Integer Distributed Ant Colony Optimization

This optimizer implements an extended ant colony optimization to solve non-convex nonlinear programming problems. The algorithm handles constraints using an oracle penalty method. [Schluter2009] [LICENSE]

class pyMIDACO.MIDACO(pll_type=None, *args, **kwargs)

Bases: pyOpt.pyOpt_optimizer.Optimizer

MIDACO Optimizer Class - Inherited from Optimizer Abstract Class

MIDACO Optimizer Class Initialization

Keyword arguments:

  • pll_type -> STR: Parallel Implementation (None, ‘POA’-Parallel Objective Analysis), Default = None

Documentation last updated: Feb. 16, 2010 - Peter W. Jansen

__solve__(opt_problem={}, store_sol=True, disp_opts=False, store_hst=False, hot_start=False, *args, **kwargs)

Run Optimizer (Optimize Routine)

Keyword arguments:

  • opt_problem -> INST: Optimization instance
  • store_sol -> BOOL: Store solution in Optimization class flag, Default = True
  • disp_opts -> BOOL: Flag to display options in solution text, Default = False
  • store_hst -> BOOL/STR: Flag/filename to store optimization history, Default = False
  • hot_start -> BOOL/STR: Flag/filename to read optimization history, Default = False

Additional arguments and keyword arguments are passed to the objective function call.

Documentation last updated: February. 17, 2011 - Peter W. Jansen

Optimizer Options

Name Type Default Value Notes
ACC float 0 Accuracy for constraint violation (0 - Use internal default)
ISEED int 0 Seed for random number generator (0 - Use internal default)
FSTOP int 0 Objective Function Stopping Value (0 - disabled)
AUTOSTOP int 0 Automatic stopping criteria (0 - disable, [1,500] - from local to global)
ORACLE float 0 Oracle parameter for constrained problems (0 - Use internal default)
FOCUS int 0 Focus of search process around best solution (0 - Use internal default)
ANTS int 0 Number of iterates (ants) (0 - Use internal default)
KERNEL int 0 Size of the solution archive (0 - Use internal default)
CHARACTER int 0 Internal custom parameters (see MIDACO manual for options)
MAXEVAL int 10000 Maximal function evaluations
MAXTIME int 86400 Maximal time limit, in seconds
IPRINT int 1 Output Level (<0 - None, 0 - Screen, 1 - File)
PRINTEVAL int 10000 Print history after every PRINTEVAL evaluation
IOUT1 int 36 History output unit number
IOUT2 int 37 Best solution output unit number
IFILE1 str ‘MIDACO_HIST.out’ History output file name
IFILE2 str ‘MIDACO_BEST.out’ Best output file name
LKEY str ‘-‘ License Key (Default - Limited Key)