# \[AMPL 24929\] Ampl model

**URL:** <https://discuss.ampl.com/t/ampl-24929-ampl-model/865>\
**Category:** Google Group Mirror\
**Created:** [December 21, 2023, 6:01am UTC](https://discuss.ampl.com/t/ampl-24929-ampl-model/865 "2023-12-21T06:01:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mifthahul\_Janna\_Rosy](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/mifthahul_janna_rosy/32/441_2.png) [@Mifthahul\_Janna\_Rosy](https://discuss.ampl.com/u/Mifthahul_Janna_Rosy)\
**Post date:** [December 21, 2023, 6:01am UTC](https://discuss.ampl.com/t/ampl-24929-ampl-model/865/1 "2023-12-21T06:01:07Z")

</div>

Hi, I’m having trouble writing these model in ampl. Can you help me in writing it in the ampl model and can you give me examples to write the parameters in the ampl data??  
The food Food groups are divided into four groups: vegetables, fruits, side dishes, and food staples.

Your help means a lot, thank you

![Screenshot 2023-12-21 135520.png](https://us1.discourse-cdn.com/flex019/uploads/ampl/original/1X/26c23d36a7e0a481b89e5e707ecd198ccc46d03c.png)

![Screenshot 2023-12-21 135503.png](https://us1.discourse-cdn.com/flex019/uploads/ampl/original/1X/f7502a4c747badda623ba0e12b46a279b7ee326d.png)

---

<div class="post-metadata">

**Author:** ![Ijtihad\_Emon](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@Ijtihad\_Emon](https://discuss.ampl.com/u/Ijtihad_Emon)\
**Post date:** [December 21, 2023, 6:09pm UTC](https://discuss.ampl.com/t/ampl-24929-ampl-model/865/2 "2023-12-21T18:09:50Z")

</div>

Hi, Sure i can help. Can you send me the doc file instade of those screenshots

– You received this message because you are subscribed to the Google Groups “AMPL Modeling Language” group. To unsubscribe from this group and stop receiving emails from it, send an email to . To view this discussion on the web visit .
