[AMPL 24792] Runtime Error: Broken Pipe

I am getting “RuntimeError: cannot write to file: Broken pipe” error in colab. The same mod and dat file give me a solution in AMPLIDE. The full error is given below.

RuntimeError Traceback (most recent call last) in <cell line: 1>() ----> 1 get_ipython().run_cell_magic(‘ampl_eval’, ‘’, ‘\nreset;\n\n# Model File\n\nmodel HerV2.mod;\ndata HerV2.dat;\n\n# Calling Optimization Engine and solving the problem\n\noption solver cplex;\n\nsolve;\n\n# Display Results\n\ndisplay Z, q; \n’)

Thanks for reporting this issue. How much memory does it take locally and have you tried running the notebook locally? This may be due to the AMPL process being killed due to memory usage.