Skip to main content
FRAMES NO FRAMES

IloSelectRandomVar

public IloVarSelector IloSelectRandomVar(IloEnv env)
Definition file: ilcp/cp.h
Returns a selector which selects a variable randomly.

This function returns a selector of integer variables that selects a variable randomly from those available. It selects only one variable.