SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.optimization.constrained.general.penaltymethod
Interface PenaltyMethod.PenaltyFunctionFactory

Enclosing class:
PenaltyMethod

public static interface PenaltyMethod.PenaltyFunctionFactory

This defines a penalty function when a constrain is violated.


Method Summary
 PenaltyFunction getPenaltyFunction(ConstrainedProblem problem)
          Get an instance of the penalty function.
 

Method Detail

getPenaltyFunction

PenaltyFunction getPenaltyFunction(ConstrainedProblem problem)
Get an instance of the penalty function.

Parameters:
problem - the constrained optimization problem to be solved
Returns:
the penalty function

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.