The remaining data that describe the optimization problem must be created, organized, and passed to Embed. The data consist of the number of variables, the lower and upper bounds on the variables, and the lower and upper bounds on the constraints.

You should include one parameterUnknown block in your diagram for each problem variable. Embed sets the number of problem variables to the number of parameterUnknown blocks.

Bounds on the variables are set in the parameterUnknown block. These should be set and checked against bounds that are listed in the report file. If you don't set bounds on a variable, the upper bound is set to 1.e30 and the lower bound is set to -1.e30. Likewise, for constraints, these are set in globalConstraint blocks.