# Request for MPS File Export in AMPL Community Edition

**URL:** <https://discuss.ampl.com/t/request-for-mps-file-export-in-ampl-community-edition/2112>\
**Category:** Support\
**Created:** [April 3, 2025, 7:33am UTC](https://discuss.ampl.com/t/request-for-mps-file-export-in-ampl-community-edition/2112 "2025-04-03T07:33:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbendiner](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jbendiner](https://discuss.ampl.com/u/jbendiner)\
**Post date:** [April 3, 2025, 7:33am UTC](https://discuss.ampl.com/t/request-for-mps-file-export-in-ampl-community-edition/2112/1 "2025-04-03T07:33:57Z")

</div>

Hi AMPL Team,

I’m currently using the AMPL Community Edition (version 20241203) and need to export my model to an `.mps` file for debugging and solver compatibility purposes. However, the `write` and `write gproblem` commands are disabled in this version, and my solver (SCIP/HiGHS/CBC) doesn’t support MPS export through solver options.

Is there any way to enable `.mps` export with my current license, or could you suggest an alternative approach? I’d be happy to activate a trial or discuss options.

Thanks in advance for your help!

Best regards,  
Jerry Bendiner

---

<div class="post-metadata">

**Author:** ![fdabrandao](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/fdabrandao/32/63_2.png) [@fdabrandao](https://discuss.ampl.com/u/fdabrandao)\
**Post date:** [April 3, 2025, 12:30pm UTC](https://discuss.ampl.com/t/request-for-mps-file-export-in-ampl-community-edition/2112/2 "2025-04-03T12:30:03Z")

</div>

Hi @jbendiner,

Thank you for reaching out. To export an MPS file, you can do that with HiGHS as follows:

```python
ampl.solve(solver="highs", highs_options="outlev=1 writeprob=model.mps") 

```
