Patent ID: 8401698

Claim:
A method for optimizing the location of a task to be performed relative to a robot, the method comprising: defining a number of tests to be simulated; defining the plurality of tests, the tests differing from each other regarding a location of the task in relation to the robot; determining boundaries for the location of the task to be performed, wherein the robot can perform the task within the boundaries; adjusting the locations of the task in the tests so that the locations are inside the boundaries; performing simulations, on a processor, of the defined tests with regarding to one aspect of optimality; determining a mathematical function describing a relationship between the one aspect of optimality and the location of the task to be performed relative the robot based on a result of the simulations and the locations of the task in each of the respective tests; calculating an extreme point of the determined mathematical function; and calculating an optimal location of the task to be performed relative to the robot based on the calculated extreme point of the determined mathematical function.