params of method findDemanded adapted, missing argument in call of method createConstraintsFromDemand added