Skip to main content

constrained_optimize

Function constrained_optimize 

Source
pub fn constrained_optimize<F>(
    objective: F,
    constraints: Vec<BlackBoxConstraint>,
    bounds: Vec<(f64, f64)>,
    n_calls: usize,
    seed: Option<u64>,
) -> OptimizeResult<ConstrainedBoResult>
where F: FnMut(&[f64]) -> f64,
Expand description

Run constrained Bayesian optimization with the default EFI strategy.

ยงArguments

  • objective - Objective function to minimize.
  • constraints - List of constraint functions (g(x) <= 0 = feasible).
  • bounds - Search space bounds.
  • n_calls - Number of evaluations.
  • seed - Optional random seed.