mex.utils.general.gen_var

mex.utils.general.gen_var(matrix)[source]

Generates the required number of variables. They are defined by the problem.

Parameters

matrix (numpy array) – matrix to be updated.

Returns

list with problem variables.

Return type

v (list)