C# component error when running in wallacei
showing “1. error begin run (invalidoperationexception): the calling thread cannot access this object because a different thread owns it.”
Wallacei then runs continuously but produces no results.
But running it in octopus produces results!
My genotype is controlling 10 functional region rectangles by length, selection, and movement, with 3 optimization goals including functional region correlation distance, interference influence index, and overlap area.
All three optimization objectives are written in C#.
I can not help you until I see what is inside your c# component. A couple of screen shots do not have any useful information for me to help you with your issue.
For your future questions, I’d recommend following the steps that David explained below
I have two optimization goals, one is to have functionally relevant distances as small as possible and one is to have functionally interfering distances as large as possible