I am new to AMPL softwares. I am trying to solve a MINLP problem using gurobi. However, the outcome of the integer variable is sometimes fractional numbers.
Is it a common case for AMPL solvers to obtain fractional outcomes for integer variables?
One the other hand, how can we relax this integer variable? In the case of relaxation is there any impact on the global optimal solution if available?
Attached are my scripts in case that it is necessary to help me fix this issue.