I am using CPLEX-C# interaction to solve different models successively. I need to save the CPU time for each model, and I am going to calculate total CPU for overall process. With the command this.cplex.SetParam(Cplex.IntParam.ClockType, 1), I say that the CPU time is measured, but I cannot save it. I can only see the CPU time on Output Window like below:

Parallel b&c, 4 threads:

Real time = 0.00 sec. (0.00 ticks)

Sync time (average) = 0.00 sec.

Wait time (average) = 0.00 sec.

                      ------------

Total (root+branch&cut) = 0.66 sec. (24.66 ticks)

Are there any command to get and save the CPU time?

asked 11 Jun '15, 16:02

yasemin's gravatar image

yasemin
1113
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×191
×8
×5
×2

Asked: 11 Jun '15, 16:02

Seen: 3,634 times

Last updated: 11 Jun '15, 16:02

OR-Exchange! Your site for questions, answers, and announcements about operations research.