PsiCon(LHS, relation, RHS, active, chance type, chance measure, comment, model name)
PsiCon adds one or more constraints to the optimization model. LHS is a cell or contiguous range of cells that contain the left hand side(s) of the constraint(s). Pass the relation, in quotes, of the constraint as the 2nd argument: “<=” (less than or equal to), “=” (equal to), “>=” (greater than or equal to), “int” (integer), “bin” (binary), “dif” (alldifferent), “soc” (cone), “src” (rotated cone), or “sem” (semicontinuous). RHS is a cell or contiguous range of cells that contain the right hand side(s) of the constraint(s). Passing true for the fourth argument, active, selects the constraint in the Task Pane Model tab for inclusion in the active model. Passing false for this argument unchecks the constraint which removes the constraint from the active model. If this argument is not passed, then true will be passed by default. Pass integer values for the chance type: 0 (normal), 2 (VaR), 3 (CVaR), or 4 (USet). Pass a value from 0 to 1 for the chance measure. A comment may be added to the constraint (surrounded by quotes) which will appear under “Comment” in the Variable Property Window. (To view the Property Window simply highlight the variable or range of variables in the Task Pane Model tab. The Property Window will appear at the bottom of the task pane.) You may pass a model or sheet name, in quotes, for the last argument, model name, to indicate to ASP what model or worksheet the constraint(s) belong(s).