Skip to main content

Can anyone tell me if there is a way to write profiler output to a file?     An external application is invoking AIMMS from the command line multiple times during its run, so it would be useful to generate this file 

hello Tsterle,

 

You can use the functions ProfilerStart (for instance in MainInitialization) and ProfilerCollectAllData to collect the profiling information, also during a headless run.
Once collected, you can use
write <some identifiers> to file someFile.txt ;
to write the data.

For more information on the profiling functions, see https://documentation.aimms.com/functionreference/development-support/profiler-and-debugger/index.html

Does this answer your question?

With kind regards,

 

Chris


Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator