method_results: A helper function to return the results of an optimization...

View source: R/core.R

method_resultsR Documentation

A helper function to return the results of an optimization method to the optimization framework

Description

A helper function to return the results of an optimization method to the optimization framework

Usage

method_results(
  method,
  objective_value,
  constraints_satisfied,
  params,
  envs = NULL,
  extra_info = list()
)

Arguments

method

the name of the optimization function (string)

objective_value

the value of the objective

constraints_satisfied

boolean indicating whether or not all constraints were satisfied

params

the found parameters

envs

a copy of the generated envs (optional)

extra_info

a list of extra information (optional)


r-simmer/simmer.optim documentation built on Jan. 13, 2023, 7:49 p.m.