How to call AMPL in C++ program

Skip to first unread message


Apr 2, 2024, 10:41:29 PMApr 2
to AMPL Modeling Language
Dear Robert,

I need to make my C++ program call my model I have written in AMPL to solve a subproblem of the model and use the results for the remaining of C++ program.

I am writing to you to ask how I must proceed to do this.

Many thanks in advance for your help.

Kinds regards.

AMPL Google Group

Apr 3, 2024, 8:46:30 AMApr 3
to AMPL Modeling Language
Your question has been moved to our new user forum at, and a response has been posted there. To see the response, use this link:

To reply, click the red "Reply" button that follows the response. (Do not send an email reply to this message.)

Robert Fourer

We're switching to a new, enhanced user forum.
Join it now at
Reply all
Reply to author
0 new messages