Hi,all: I'm using ipopt under ampl. Any one know how to write the optimal solution to a file rather than using the command "display "? (I noted "void AmplTNLP::write_solution_file" call write_sol(cmessage, x_sol_, lambda_sol_, NULL); But I don't know how to use this in ampl. ) Thanks! Zaiwen