check2
  OptimizationProblem : 
	Solve for:
       maxS
	where:
       maxS integer
	minimize :
       totalCostFunction(maxS)
	variable bounds:
       10 <= maxS <= 100
Solving problem using ga.
ga stopped because the average change in the penalty function value is less than options.FunctionTolerance and 
the constraint violation is less than options.ConstraintTolerance.
solution = struct with fields:
    maxS: 45
reasonSolverStopped = 
    SolverConvergedSuccessfully
objectiveValue = int32
    32520
check2
  OptimizationProblem : 
	Solve for:
       maxS
	where:
       maxS integer
	minimize :
       totalCostFunction(maxS)
	variable bounds:
       10 <= maxS <= 100
Solving problem using ga.
ga stopped because the average change in the penalty function value is less than options.FunctionTolerance and 
the constraint violation is less than options.ConstraintTolerance.
solution = struct with fields:
    maxS: 45
reasonSolverStopped = 
    SolverConvergedSuccessfully
objectiveValue = int32
    32520

