Problem scaling routines

Problem.set_rii(row, double sf)

Set (change) row scale factor

Parameters:
  • row (int or str) – the index or name of the row
  • sf (Real) – the scale factor
Problem.set_sjj(col, double sf)

Set (change) column scale factor

Parameters:
  • col (int or str) – the index or name of the column
  • sf (Real) – the scale factor
Problem.get_rii(row)

Retrieve row scale factor

Parameters:row (int or str) – the index or name of the row
Returns:the scale factor
Return type:float
Problem.get_sjj(col)

Retrieve column scale factor

Parameters:col (int or str) – the index or name of the column
Returns:the scale factor
Return type:float
Problem.scale_prob(*algorithms)

Scale problem data

Parameters:algorithms – the algorithms to apply, one or more from 'auto', 'skip', 'geometric', 'equilibration', 'round'
Problem.unscale_prob()

Unscale problem data