Fixing milp code to make use of CNOBase class.