[AMPL 25014] How to call AMPL in C++ program

To call AMPL from C++, use AMPL’s C++ API. It includes C++ methods for setting up an AMPL model, sending data to AMPL, solving, and returning results to be used in your C++ program.