FRAMES NO FRAMES

IlcElementEq

public IlcConstraint IlcElementEq(IlcIntVar var, IlcIntArray array, IlcIntVar index, const char * name=0)
Definition file: ilsolver/ilcint.h
Include file: ilsolver/ilosolver.h

This function creates and returns a constraint that forces the the variable var to be equal to the element index of the array array.


IlcElementEq

public IlcConstraint IlcElementEq(IlcInt val, IlcIntArray array, IlcIntVar index, const char * name=0)
Definition file: ilsolver/ilcint.h
Include file: ilsolver/ilosolver.h

This function creates and returns a constraint that forces the the value val to be equal to the element index of the array array.