How to debug AMPL?

I found there seems a better solution than the one given by the solver. Is there any easy way I can verify if this solution indeed meets all the constraints and yield higher maxgoal?
Thanks.