Does Mathematica support in Maximize function to put some variables belong to Integers and others to Reals I tried that but I have an error that this not implemented yet is there any way to do that inside the maximize Function??
I Tried a simple Code to Clarify my question that is
Maximize[{x + y + z, x <= 10, y <= 12.5,
z <= 100}, {{x, z} ∈ Integers, {y} ∈ Reals}]
it is ok and gives the output
{122.5, {x -> 10, z -> 100, y -> 12.5}}
I tried in my original problem which is long and tried the same syntax as follows
{{W, H, x1, y1, x2, y2, x3, y3, x4, y4} ∈
Reals, {x12, y12, x13, y13, x14, y14, x23, y23, x24, y24, x34, y34,
z1, z2, z3, z4} ∈ Integers }
but it gives this error
Minimize::mixdom: Exact optimization with mixed real and integer variables is not yet implemented
there is no difference? why one is ok and one gives error