On constraint programming for a new flexible project scheduling problem with resource constraints