Example #1
0
 private void Solver_OnSolved(object sender, SolverEventArgs e)
 {
     AsyncManager.Parameters["args"] = e;
     AsyncManager.OutstandingOperations.Decrement();
 }
Example #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);
        }
Example #3
0
 public ActionResult CalculateCompleted(SolverEventArgs args)
 {
    // args.
     CutModel.Solve = args;
     return RedirectToAction("Index",CutModel);
 }