Gradient Based Optimization Algorithm Example Flowchart