class NLopt::Solver

Defined in:

nlopt/nlopt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(algorithm, size) #

[View source]

Instance Method Detail

def algorithm : Algorithm #

[View source]
def clone #

[View source]
def constraints : Array(NLopt::Constraint) #

[View source]
def constraints=(constraints : Array(NLopt::Constraint)) #

[View source]
def dimension #

[View source]
def finalize #

[View source]
def free #

[View source]
def ftol_abs #

[View source]
def ftol_abs=(value) #

[View source]
def ftol_rel #

[View source]
def ftol_rel=(value) #

[View source]
def local_optimizer(local : Solver) #

[View source]
def maxeval #

[View source]
def maxeval=(value) #

[View source]
def maxtime #

[View source]
def maxtime=(value) #

[View source]
def num_evals #

[View source]
def obj_gradient : ObjectiveGradOnly | Nil #

[View source]
def obj_gradient=(obj_gradient : ObjectiveGradOnly | Nil) #

[View source]
def objective : ObjectiveWithGrad | ObjectiveNoGrad | Nil #

[View source]
def objective=(objective : ObjectiveWithGrad | ObjectiveNoGrad | Nil) #

[View source]
def optim_dir : NLopt::Direction #

[View source]
def optim_dir=(optim_dir : NLopt::Direction) #

[View source]
def population #

[View source]
def population=(value) #

[View source]

[View source]
def precondition=(precondition : ObjectivePrecondition | ObjectivePreconditionEval | Nil) #

[View source]
def solve #

[View source]
def stopval #

[View source]
def stopval=(value) #

[View source]
def variables : Array(NLopt::Variable) #

[View source]
def vector_storage #

[View source]
def vector_storage=(value) #

[View source]
def xtol_rel #

[View source]
def xtol_rel=(value) #

[View source]