@@ -27,15 +27,15 @@ where
2727 MP : MatrixProvider < Column : Identity + IntoFilteredColumn > ,
2828{
2929 // TODO(ENHANCEMENT): Specialize for MatrixProviders that can be filtered directly.
30- default fn solve_relaxation < IM > ( & self ) -> OptimizationResult < IM :: F >
30+ default fn solve_relaxation < ' provider , IM > ( & ' provider self ) -> OptimizationResult < IM :: F >
3131 where
3232 IM : InverseMaintener < F :
3333 im_ops:: FieldHR +
3434 im_ops:: Column < <<Self as MatrixProvider >:: Column as Column >:: F > +
3535 im_ops:: Cost < ArtificialCost > +
36+ im_ops:: Cost < MP :: Cost < ' provider > > +
3637 im_ops:: Rhs < MP :: Rhs > +
3738 > ,
38- for < ' r > IM :: F : im_ops:: Cost < MP :: Cost < ' r > > ,
3939 {
4040 match self . compute_bfs_giving_im :: < IM > ( ) {
4141 RankedFeasibilityResult :: Feasible {
@@ -84,15 +84,15 @@ where
8484 MP : MatrixProvider < Column : Identity + IntoFilteredColumn > ,
8585 MP :: Rhs : ' static + ColumnNumber ,
8686{
87- fn solve_relaxation < IM > ( & self ) -> OptimizationResult < IM :: F >
87+ fn solve_relaxation < ' provider , IM > ( & ' provider self ) -> OptimizationResult < IM :: F >
8888 where
8989 IM : InverseMaintener < F :
9090 im_ops:: FieldHR +
9191 im_ops:: Column < <<Self as MatrixProvider >:: Column as Column >:: F > +
92+ im_ops:: Cost < MP :: Cost < ' provider > > +
9293 im_ops:: Rhs < Self :: Rhs > +
9394 im_ops:: Column < Self :: Rhs > +
9495 > ,
95- for < ' r > IM :: F : im_ops:: Cost < MP :: Cost < ' r > > ,
9696 {
9797 let basis_indices = self . pivot_element_indices ( ) ;
9898 // Sorting of identity matrix columns
0 commit comments