private void Solver_OnSolved(object sender, SolverEventArgs e)
 {
     AsyncManager.Parameters["args"] = e;
     AsyncManager.OutstandingOperations.Decrement();
 }
Exemple #2
0
        private void Ga_OnRunComplete(object sender, GaEventArgs e)
        {
#if DEBUG
            Debug.WriteLine("Run Complete ...");
#endif
            var args = new SolverEventArgs(e.Population, e.Generation, e.Evaluations, Beams);

            OnSolved(this, args);
        }
 public ActionResult CalculateCompleted(SolverEventArgs args)
 {
    // args.
     CutModel.Solve = args;
     return RedirectToAction("Index",CutModel);
 }