@@ -416,6 +416,9 @@ private static extern int Highs_addCols(
416416 [ DllImport ( highslibname ) ]
417417 private static extern int Highs_changeRowBounds ( IntPtr highs , int row , double lower , double upper ) ;
418418
419+ [ DllImport ( highslibname ) ]
420+ private static extern int Highs_changeRowsBoundsByRange ( IntPtr highs , int from_row , int to_row , double [ ] lower , double [ ] upper ) ;
421+
419422 [ DllImport ( highslibname ) ]
420423 private static extern int Highs_changeRowsBoundsBySet ( IntPtr highs , int num_set_entries , int [ ] set , double [ ] lower , double [ ] upper ) ;
421424
@@ -914,6 +917,11 @@ public HighsStatus changeRowBounds(int row, double lower, double upper)
914917 return ( HighsStatus ) HighsLpSolver . Highs_changeRowBounds ( this . highs , row , lower , upper ) ;
915918 }
916919
920+ public HighsStatus changeRowsBoundsByRange ( int from , int to , double [ ] lower , double [ ] upper )
921+ {
922+ return ( HighsStatus ) HighsLpSolver . Highs_changeRowsBoundsByRange ( this . highs , from , to , lower , upper ) ;
923+ }
924+
917925 public HighsStatus changeRowsBoundsBySet ( int [ ] rows , double [ ] lower , double [ ] upper )
918926 {
919927 return ( HighsStatus ) HighsLpSolver . Highs_changeRowsBoundsBySet ( this . highs , rows . Length , rows , lower , upper ) ;
0 commit comments