Highest Point of a Surface
Last updated
Last updated
The 01-01_EvaluateSurface.dyn
graph in the examples uses a single objective optimization approach to find the highest Z point on a sinuous surface.
The objective of the graph is to get the orange sphere to the highest peak of the surface.
U and V Point values are used to move the sphere across the surface. Because these values are the driving inputs, they need to be marked as IsInput
for the Create Study dialog to recognize them.
In order to know when the sphere is at the highest peak, a measure of the Z value is made every time the sphere moves - this represents the fitness value.
When creating a study of this graph, follow these steps:
Use the 'Optimize' generation method.
Under 'Inputs', make sure that all inputs are checked.
Under 'Outputs', set the 'Z Point Value' to 'Maximize' . If you want the lowest point, set it to 'Minimize' .
Under 'Settings', input your 'Population Size' and the number of 'Generations' you want.
Under 'Issues', resolve any items.
Click 'Generate' to run the optimization process.
As this is a single optimization problem, the system will return only one, global optimum result - in this case, the highest peak on the surface.