shouldBeMinimized: Check if function should be minimized.

View source: R/shouldBeMinimized.R

shouldBeMinimizedR Documentation

Check if function should be minimized.

Description

Functions can have an associated global optimum. In this case one needs to know whether the optimum is a minimum or a maximum.

Usage

shouldBeMinimized(fn)

Arguments

fn

[smoof_function]
Objective function.

Value

[logical] Each component indicates whether the corresponding objective should be minimized.


smoof documentation built on March 31, 2023, 11:48 p.m.