General Modules

General functions

general.convert_min(matrix)

This function multiplies by -1 the objective function for maximization problems.

general.gen_var(matrix)

Generates the required number of variables.

general.convert(eq)

Converts equation into a list containing the coefficients of the equation.