FRAMES NO FRAMES

IlcInverse

public IlcConstraint IlcInverse(IlcIntSetVarArray f, IlcIntVarArray invf)
Definition file: ilsolver/ilcset.h

An instance of IlcInverse represents an inverse constraint between an array on set variables and an array of variables. Informally, we say that an inverse constraint works on two arrays, say, f and invf, so that an element of f collects the indexes of the element of invf that points to the first element.

In formal terms, if the length of the array f is n, and the length of the array invf is m, then the inverse constraint makes sure that:

See Also:


IlcInverse

public IlcConstraint IlcInverse(IlcIntVarArray f, IlcIntVarArray invf)
Definition file: ilsolver/ilcint.h
Include file: <ilsolver/ilosolver.h>

If the length of the array f is n, and the length of the array invf is m, then this function returns a constraint that insures that:

See Also: