[AMPL 24797] syntax error

Hi, i want to ask about my problem. Why this is happened? Is there anything wrong with my Ampl software? Because, when I start to run my model it comes up: Screenshot 2023-09-22 093814.jpg

We see this kind of error when there is an incorrect AMPL statement at the end of the model file, and the file does not have a semicolon (:wink: character at the end. So, check the end of your model file. If you need more help, reply with the file WEEK7.mod attached, or with the contents of the file copied into your message.