88 template <
bool only_allow_zero_cost_column>
89 void CompleteTriangularBasis(ColIndex num_cols,
RowToColMapping* basis);
91 template <
bool only_allow_zero_cost_column>
97 int GetColumnCategory(ColIndex
col)
const;
100 int GetMarosPriority(RowIndex
row)
const;
101 int GetMarosPriority(ColIndex
col)
const;
113 struct BixbyColumnComparator {
114 explicit BixbyColumnComparator(
const InitialBasis& initial_basis)
115 : initial_basis_(initial_basis) {}
116 bool operator()(ColIndex col_a, ColIndex col_b)
const;
118 } bixby_column_comparator_;
122 struct TriangularColumnComparator {
123 explicit TriangularColumnComparator(
const InitialBasis& initial_basis)
124 : initial_basis_(initial_basis) {}
125 bool operator()(ColIndex col_a, ColIndex col_b)
const;
127 } triangular_column_comparator_;
129 const CompactSparseMatrix& compact_matrix_;
InitialBasis(const CompactSparseMatrix &compact_matrix, const DenseRow &objective, const DenseRow &lower_bound, const DenseRow &upper_bound, const VariableTypeRow &variable_type)
Takes references to the linear program data we need.