Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 1 of Ticket #1783


Ignore:
Timestamp:
03/06/12 12:37:23 (13 years ago)
Author:
mkommend
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1783

    • Property Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 3.3.7
    • Property Component changed from ### Undefined ### to Optimization
    • Property Summary changed from Experiment pauses always after several runs to Batchruns are not executed correctly
  • Ticket #1783 – Description

    initial v1  
    1 The attached experiment always pauses the execution after one or two runs of a batch run are finished.
     1Batchruns which contain optimizers that produce multiple runs are not executed correctly, because the batchrun stops when the runs counter is larger than the repetitions counter. The described behavior can be reproduced by executing the attached file.
    22
    3 When you try to run it in Hive, it throws the following exception:
     3E.g.,
     4A batchrun should be repeated 5 times and contains an experiment with 3 standard algorithms. The batchrun stops after 2 repetitions, as the embedded experiment produces 3 runs with every execution.
    45
    5 {{{
    6 InvalidOperationException: Prepare not allowed in execution state "Started".
    7 
    8 Server stack trace:
    9    at HeuristicLab.Optimization.BatchRun.Prepare(Boolean clearRuns) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Optimization\3.3\BatchRun.cs:line 218
    10    at HeuristicLab.Optimization.Experiment.AddOptimizer(IOptimizer optimizer) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Optimization\3.3\Experiment.cs:line 295
    11    at HeuristicLab.Optimization.Experiment.Optimizers_ItemsAdded(Object sender, CollectionItemsChangedEventArgs`1 e) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Optimization\3.3\Experiment.cs:line 280
    12    at HeuristicLab.Collections.CollectionItemsChangedEventHandler`1.Invoke(Object sender, CollectionItemsChangedEventArgs`1 e)
    13    at HeuristicLab.Collections.ObservableList`1.Add(T item) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Collections\3.3\ObservableList.cs:line 165
    14    at HeuristicLab.Clients.Hive.OptimizerHiveTask.AddChildHiveTask(HiveTask hiveTask) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Clients.Hive\3.3\HiveTasks\OptimizerHiveTask.cs:line 293
    15    at HeuristicLab.Clients.Hive.HiveClient.BuildHiveJobTree(HiveTask parentHiveTask, IEnumerable`1 allTasks, IDictionary`2 allHiveTasks) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Clients.Hive\3.3\HiveClient.cs:line 480
    16    at HeuristicLab.Clients.Hive.HiveClient.LoadJob(RefreshableJob refreshableJob) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Clients.Hive\3.3\HiveClient.cs:line 456
    17    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    18    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    19    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    20 
    21 Exception rethrown at [0]:
    22    at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
    23    at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
    24    at System.Action`1.EndInvoke(IAsyncResult result)
    25    at HeuristicLab.Clients.Hive.JobManager.Views.RefreshableHiveJobView.<>c__DisplayClassa.<refreshButton_Click>b__8(IAsyncResult ar) in E:\HEAL\newSource\trunk\sources\HeuristicLab.Clients.Hive.JobManager\3.3\Views\RefreshableHiveJobView.cs:line 421
    26 }}}
     6Additionally the execution time is not correct after removing all runs from the run collection (should be 00:00:00).