DP is more or less working

have to work around problems with OscaR ignoring a few constraints….