Gradient descent in R, for non-linear optimization (nloptr package)

This post introduces gradient descent optimization in R, using the nloptr package. For solving transport problems or network modelling problems, linear programming will suffice. Nevertheless, depending on the topic at hand, non-linear programming might become relevant when considering additional constraints…