I'm using R and python, from R i've invoke python, so all is well till i try to opt = pyo.SolverFactory('glpk'), this is on python, gives me this next error: "Could not locate the 'glpsol' executable, which is required for solver 'glpk'". So i need to add glpk to a shinyapp.io instance becasuse i don't have a clue on how to do it.
this is how i invoke my code on R
virtualenv_create("r-reticulate")
py_install("pyomo")
py_install("pandas")
source_python("model_function.py")
model = create_model(X,Y)
i try to add this librareis
library("plyr")
library("ROI")
library("ROI.plugin.glpk")
library("Rglpk")
library("glpkAPI")
library("geosphere")
library("dplyr")
library("plotly") # Sirve para hacer dinámicos los gráficos y descargar imágenes entre otras cosas
library("slam")
library("shinyjs") # Sirve para usar JavaScript en la aplicación shiny
library("openxlsx") # Sirve para leer CSVs
library("rsconnect") #para subir la aplicación
library("reticulate")