# Gurboi’s R Examples 2

This post explores how to use Gurobi to solve more advanced LPs, MIPs, and QPs. I have written these using Gurobi as a solver and as the mathematical formulation software. This is a reproducible example if you have R Studio just make sure you have installed the correct packages. library(gurobi) ## Warning: package ‘slam’ was built under R version 4.1.2 library(Matrix) This example formulates and solves the following simple QP model: