Skip to main content
FRAMES NO FRAMES

Class IloSynchronize

Definition file: ilconcert/ilosmodel.h
Map of IloSynchronizeIloSynchronizeIloSynchronizeIloConstraintIloIntExprArgIloNumExprArgIloExtractable
An instance of this class represents a synchronization constraint. This class has been deprecated in CP Optimizer 20.1.0.

The class IloSynchronize has been deprecated in CP Optimizer 20.1.0 and will be removed in a future release. Instead, use a set of IloStartAtStart and IloStartAtEnd constraints between the master interval variables and the other interval variables. If the IloSynchronize constraint is meant to formulate the selection of a subset of intervals, consider using the IloAlternative constraint instead (with unit, multiple or variable cardinality).

Method Summary
public IloSynchronizeI *getImpl() const
public IloSynchronize()
public IloSynchronize(IloSynchronizeI * impl)
public IloSynchronize(const IloEnv env, const IloIntervalVar a, const IloIntervalVarArray bs, const char * name=0)
Inherited Methods from IloConstraint
getImpl, IloConstraint, IloConstraint
Inherited Methods from IloIntExprArg
getImpl, IloIntExprArg, IloIntExprArg
Inherited Methods from IloNumExprArg
getImpl, IloNumExprArg, IloNumExprArg
Inherited Methods from IloExtractable
asConstraint, asIntExpr, asModel, asNumExpr, asObjective, asVariable, end, getEnv, getId, getImpl, getName, getObject, IloExtractable, isConstraint, isIntExpr, isModel, isNumExpr, isObjective, isVariable, removeFromAll, setLocation, setName, setObject
Method Detail

IloSynchronize

public IloSynchronize()
This constructor creates an empty handle. You must initialize it before you use it.

IloSynchronize

public IloSynchronize(IloSynchronizeI * impl)
This constructor creates a handle object from a pointer to an implementation object.

IloSynchronize

public IloSynchronize(const IloEnv env, const IloIntervalVar a, const IloIntervalVarArray bs, const char * name=0)

This constructor creates a synchronization constraint between interval variable a and the set of interval variables in the array bs and makes it part of the environment env.


getImpl

public IloSynchronizeI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.