test/mip_test.cc
changeset 2378 c479eab00a18
parent 2267 3575f17a6e7f
child 2386 81b47fc5c444
equal deleted inserted replaced
7:248cda6981ea 8:4324f81f392d
    50   Col x1 = mip.addCol();
    50   Col x1 = mip.addCol();
    51   Col x2 = mip.addCol();
    51   Col x2 = mip.addCol();
    52 
    52 
    53 
    53 
    54   //Objective function
    54   //Objective function
    55   mip.setObj(x1);
    55   mip.obj(x1);
    56 
    56 
    57   mip.max();
    57   mip.max();
    58 
    58 
    59 
    59 
    60   //Unconstrained optimization
    60   //Unconstrained optimization