pub(crate) fn new_with_basis(
        provider: &'provider MP,
        inverse_maintainer: IM,
        basis_columns: HashSet<usize>,
        column_to_row_artificials: Vec<usize>,
    ) -> Self {
        debug_assert!(column_to_row_artificials.iter().all(|i| basis_columns.contains(&i)));

        Tableau {
            inverse_maintainer,
            basis_columns,

            kind: Partially {
                column_to_row: column_to_row_artificials,

                provider,
            },
        }
    }
/// Creates a Simplex tableau with a specific basis.
///
/// Currently only used for testing.
///
/// # Arguments
///
/// * `provider`: Provides the original problem for which the other arguments describe a basis.
/// * `carry`: `Carry` with the basis transformation. Corresponds to `basis_indices`.
/// * `basis_indices`: Maps each row to a column, describing a basis. Corresponds to `carry`.
///
/// # Return value
///
/// `Tableau` with for the provided problem with the provided basis.
Creates a Simplex tableau with a specific basis.
Currently only used for testing.
Creates a Simplex tableau with a specific basis . Currently only used for testing .
pub(crate) fn new_with_basis(
        provider: &'provider MP,
        inverse_maintainer: IM,
        basis_columns: HashSet<usize>,
        column_to_row_artificials: Vec<usize>,
    ) -> Self {
        debug_assert!(column_to_row_artificials.iter().all(|i| basis_columns.contains(&i)));
        Tableau {
            inverse_maintainer,
            basis_columns,
            kind: Partially {
                column_to_row: column_to_row_artificials,
                provider,
            },
        }
    }
pub ( crate ) fn new_with_basis ( provider : & ' provider MP , inverse_maintainer : IM , basis_columns : HashSet < usize > , column_to_row_artificials : Vec < usize > , ) -> Self { debug_assert ! ( column_to_row_artificials iter ( ) all ( i basis_columns contains ( i ) ) ) ; Tableau { inverse_maintainer , basis_columns , kind : Partially { column_to_row : column_to_row_artificials , provider , } , } }
Creates a Simplex tableau with a specific basis.
Creates a Simplex tableau with a specific basis .
provider
&'provider MP
inverse_maintainer
IM
basis_columns
HashSet<usize>
column_to_row_artificials
Vec<usize>
provider
&'provider MP
inverse_maintainer
IM
basis_columns
HashSet<usize>
column_to_row_artificials
Vec<usize>
return value
`Tableau` with for the provided problem with the provided basis.
` Tableau ` with for the provided problem with the provided basis .