Searched refs:C_j (Results 1 – 2 of 2) sorted by relevance
682 double C_i, C_j; in solve_generic() local704 C_j = get_C(j); in solve_generic()728 if( diff > C_i - C_j && alpha_i > C_i ) in solve_generic()733 else if( diff <= C_i - C_j && alpha_j > C_j ) in solve_generic()735 alpha_j = C_j; in solve_generic()736 alpha_i = C_j + diff; in solve_generic()758 if( sum > C_j && alpha_j > C_j ) in solve_generic()760 alpha_j = C_j; in solve_generic()761 alpha_i = sum - C_j; in solve_generic()763 else if( sum <= C_j && alpha_i < 0 ) in solve_generic()
625 double C_i, C_j; in solve_generic() local647 C_j = get_C(j); in solve_generic()671 if( diff > C_i - C_j && alpha_i > C_i ) in solve_generic()676 else if( diff <= C_i - C_j && alpha_j > C_j ) in solve_generic()678 alpha_j = C_j; in solve_generic()679 alpha_i = C_j + diff; in solve_generic()701 if( sum > C_j && alpha_j > C_j ) in solve_generic()703 alpha_j = C_j; in solve_generic()704 alpha_i = sum - C_j; in solve_generic()706 else if( sum <= C_j && alpha_i < 0 ) in solve_generic()