Fix BILPSubproblem constructor. Now it supports problem models.