First, thank you for your answer.
Actually, I wanted to create files in a benchmark-session, like this:
setparam("XPRS_MAXTIME",1000)
tstart:=gettime
minimize( height )
tstop:=gettime
writeln("instance: ",datainpack)
writeln("heuristic: ",mH)
writeln("best UB: ", getobjval)
writeln("LB:",getparam("XPRS_BESTBOUND"))
writeln("time:",tstop-tstart)
now, i wanted to replace the tstop-tstart part by getparam
("XPRS_...???...") to get the CPU time.
I am running this benchmark on about 100 instances of which some of
them terminate before the MAXTIME and some dont.
So i just wanted to save this data and later parse it by a small
application to automaticaly make a nice table for my paper.
The "gettime"-time measurement is quite inaccurate, so I hoped there
is a parameter to get the computation time. Is there anything like
that?
On Jan 29, 9:45 pm, amirah <
amirah.rah...@gmail.com> wrote:
> The time should show up in the logfile, at the end. Here's what I use to
> print out the logfile:
> setparam("XPRS_MIPLOG",-1)
> setparam("XPRS_CPUTIME",1)
>
> Is this what you had in mind?
>