User Portlet User Portlet

Discussions
Dear Mathematica experts, I have a problem with the optimization of the objective Z depending on continuous and discrete variables. The error that occurs constantly is **"The following constraints are not valid: ..... Constraints should be...
May be so: [mcode]m := 1200 k := 300000 b := 25 g := 9.81 F[t_] := If[y[t]