copp.objective.linear

Construct a linear objective over COPP profile variables.

Syntax

objective = copp.objective.linear(weight, alpha, beta)

Description

Returns a descriptor with node coefficients ALPHA and edge/node coefficients BETA. ALPHA and BETA may be row or column vectors; the descriptor stores both as double column vectors.

For a COPP2 problem covering S_LEN stations, ALPHA must contain S_LEN values and BETA must contain S_LEN - 1 values. For COPP3, both ALPHA and BETA must contain S_LEN values. Problem construction validates the active length contract against the chosen robot interval.

Input Arguments

weight

Input value for copp.objective.linear. See Description for accepted shape and constraints.

alpha

Input value for copp.objective.linear. See Description for accepted shape and constraints.

beta

Input value for copp.objective.linear. See Description for accepted shape and constraints.

Output Arguments

objective

Returned value from copp.objective.linear. See Description for its shape and meaning.

See Also

copp.objective