2. Determine the objective function;
3. Determine inequality constraints, such as AX
4. Determine the equality constraints, such as AeqX=beq, and determine the Aeq matrix and beq vector;
5. Determine the upper and lower bounds LB and UB vectors of decision variables;