Optimization Modelling Using R