AMPL API cplex solution time

56 Views Asked by At

I have a MILP model written in AMPL and would like to do some computational experiments. I am using AMPL API for Java for controlling the experiments.

Besides others, I want to record the time that CPLEX uses for computing an LP relaxation. I know that in AMPL, I can access it via _total_solve_time. Is there a way how to get this value via AMPL API?