TimeLimit Property

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Sets the maximum time, in seconds, for a call to an optimizer. This time limit applies also to the conflict refiner. The time is measured in terms of either CPU time or elapsed time, according to the setting of the clock type parameter (CPX_PARAM_CLOCKTYPE, ClockType). The time limit for an optimizer applies to the sum of all its steps, such as preprocessing,crossover, and internal calls to other optimizers. In a sequence of calls to optimizers, the limit is not cumulative but applies to each call individually. For example, if you set a time limit of 10 seconds, and you call mipopt twice then there could be a total of (at most) 20 seconds of running time if each call consumes its maximum allotment.

Namespace: Optimization.Solver.Cplex
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
public double TimeLimit { get; set; }
Visual Basic
Public Property TimeLimit As Double
	Get
	Set
Visual C++
public:
property double TimeLimit {
	double get ();
	void set (double value);
}

Field Value

The time limit.

See Also