f_constant

compas_tno.problems.f_constant(variables, problem)

Constant or feasible objective function f=1

Parameters:
variablesarray (k x 1)

Variables to pass to the function.

MProblem

The class with necessary matrices, or arguments, to compute the objective function

Returns:
ffloat

The value of the objective function.