added lightweight constraint computation
Merge branch 'master' of https://github.com/erictzeng/reinforcement-lfd