objfunction ready with lp_solve api