Gradient Based Optimization Algorithm Example Flowcharts