Questions tagged [r-optimization]

R Optimization Infrastructure Packages (ROI). Also add the language specific [r] tag to your question.

The R-package ROI offers an extensible infrastructure to model linear, quadratic, conic and general nonlinear optimization problems. The infrastructure also offers many different solvers, reformulations, problem collections and functions to address optimization problems in many formats.

17 questions
0
votes
1 answer

R: Defining bounds for Optimization Problem Constructor OP (package ROI). Error in UseMethod("as.V_bound")

I want to define bounds for the variables when optimizing with the ROI package. I use the OP function for constructing the optimization problem object. The default is: lower bounds are equal to zero and upper bounds are equal to +infinity. Here is a…
user436994
  • 601
  • 5
  • 15
0
votes
1 answer

ROI optimisation in R using multi-argument F_objective function

Trying to run a simple ROI optimisation in R, but after hours of fidgeting I'm at a loss. I keep getting the error: Error in .check_function_for_sanity(F, n) : cannot evaluate function 'F' using 'n' = 5 parameters. Here is the sample…
csrvermaak
  • 278
  • 1
  • 2
  • 13
1
2