pub fn new(
        minus_objective: F,
        minus_pi: DenseVector<F>,
        b: DenseVector<F>,
        basis_indices: Vec<usize>,
        basis_inverse: BI,
    ) -> Self {
        let m = basis_inverse.m();
        debug_assert_eq!(minus_pi.len(), m);
        debug_assert_eq!(b.len(), m);
        debug_assert_eq!(basis_indices.len(), m);

        Carry {
            minus_objective,
            minus_pi,
            b,
            basis_indices,
            basis_inverse,
        }
    }
/// Create a `Carry` for a tableau with a known basis inverse.
///
/// # Arguments
///
/// * `b`: Constraint values of the original problem with respect to the provided basis.
/// * `basis_inverse_rows`: Rows of the matrix B^-1, where B is the matrix of columns of the
/// basis.
///
/// # Return value
///
/// `Carry` with the provided values and a `minus_pi` zero vector.
Create a `Carry` for a tableau with a known basis inverse.
Create a ` Carry ` for a tableau with a known basis inverse .
pub fn new(
        minus_objective: F,
        minus_pi: DenseVector<F>,
        b: DenseVector<F>,
        basis_indices: Vec<usize>,
        basis_inverse: BI,
    ) -> Self {
        let m = basis_inverse.m();
        debug_assert_eq!(minus_pi.len(), m);
        debug_assert_eq!(b.len(), m);
        debug_assert_eq!(basis_indices.len(), m);
        Carry {
            minus_objective,
            minus_pi,
            b,
            basis_indices,
            basis_inverse,
        }
    }
pub fn new ( minus_objective : F , minus_pi : DenseVector < F > , b : DenseVector < F > , basis_indices : Vec < usize > , basis_inverse : BI , ) -> Self { let m = basis_inverse . m ( ) ; debug_assert_eq ! ( minus_pi len ( ) m ) ; debug_assert_eq ! ( b len ( ) m ) ; debug_assert_eq ! ( basis_indices len ( ) m ) ; Carry { minus_objective , minus_pi , b , basis_indices , basis_inverse , } }
Create a `Carry` for a tableau with a known basis inverse.
Create a ` Carry ` for a tableau with a known basis inverse .
minus_objective
F
minus_pi
DenseVector<F>
b
DenseVector<F>
basis_indices
Vec<usize>
basis_inverse
BI
minus_objective
F
minus_pi
DenseVector<F>
b
DenseVector<F>
basis_indices
Vec<usize>
basis_inverse
BI
return value
`Carry` with the provided values and a `minus_pi` zero vector.
` Carry ` with the provided values and a ` minus_pi ` zero vector .