Пример #1
0
 private ILPTask Clone()
 {
     return(new ILPTask
     {
         OptimizeType = OptimizeType,
         VariablesCount = VariablesCount,
         RestrictionsCount = RestrictionsCount,
         InfoVariablesCount = InfoVariablesCount,
         Coefficients = Coefficients.Clone() as float[],
         Restrictions = Restrictions.Clone() as float[, ],
         StartBasis = StartBasis.Clone() as int[],
         SimplexTable = SimplexTable.Clone() as float[, ],
         OptimizationResult = OptimizationResult,
         M = M
     });
 }