# No cplex license for this machine

**URL:** <https://discuss.ampl.com/t/no-cplex-license-for-this-machine/2083>\
**Category:** Support\
**Tags:** errors-and-messages\
**Created:** [March 14, 2025, 10:10am UTC](https://discuss.ampl.com/t/no-cplex-license-for-this-machine/2083 "2025-03-14T10:10:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hello123](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@hello123](https://discuss.ampl.com/u/hello123)\
**Post date:** [March 14, 2025, 10:10am UTC](https://discuss.ampl.com/t/no-cplex-license-for-this-machine/2083/1 "2025-03-14T10:10:35Z")

</div>

Hi!  
Everytime I try to run my AMPL code the program says displays my license followed by “No cplex license for this machine”. The license was given to me by my university, anyone know how to solve this? I would appreciate any support.

---

<div class="post-metadata">

**Author:** ![4er](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/4er/32/530_2.png) [@4er](https://discuss.ampl.com/u/4er)\
**Post date:** [March 15, 2025, 2:37am UTC](https://discuss.ampl.com/t/no-cplex-license-for-this-machine/2083/2 "2025-03-15T02:37:44Z")

</div>

The most likely cause is that the license given to you by your university does not include CPLEX. But to get a more definite answer, copy _all of the output that appears_ when you try to solve with CPLEX, and paste it into a reply here.
