I have a set of data, the production of oil from a well.  And an equation to 
predict that forecast.  

The equation requires 5 input variables which are real numbers with upper and 
lower bounds, 1 input variable which must be an integer and 1 input variable 
which can be 1 of 2 string variables.  

What is the best optimization routine (I am using nlminb) to use in R to 
determine the best set of inputs and how to I handle the integer and string 
inputs when optimizing?  

I have attached a plot of what I am trying to accomplish as well as my sample 
code.  

Thanks,

Ryan


Attachment: Rplot.pdf
Description: Rplot.pdf

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] Best Opt... JamesRyan(Ryan James)/E&P North America Business Division
    • Re: [R]... Paul Smith
      • Re:... JamesRyan(Ryan James)/E&P North America Business Division

Reply via email to