if (DEBUGP(lp))
lpx_write_cpxlp(lp, (char*)DEBUG_DEV);
- int ipr= lpx_interior(lp);
+ int ipr= lpx_simplex(lp);
assert(ipr==LPX_E_OK);
if (DEBUGP(lp))
- lpx_print_ips(lp, (char*)DEBUG_DEV);
+ lpx_print_sol(lp, (char*)DEBUG_DEV);
- assert(lpx_ipt_status(lp) == LPX_T_OPT);
- profit= lpx_ipt_obj_val(lp);
+ int lpst= lpx_get_status(lp);
+ assert(lpst == LPX_OPT);
+ profit= lpx_get_obj_val(lp);
}
lpx_delete_prob(lp);