Description Usage Arguments Value

View source: R/3 optimization over the predicted surface.R

Maximize over the predicted surface from a single initial solution. Later on, we will incorporate this function into a multi-initial-solution solver, but for now, we only use a single initial solution (the true maxima) to save time.

1 | ```
opt_single_initial(x0, eval_f, lb, ub, model)
``` |

`x0` |
A vector; the initial solution. |

`eval_f` |
A function; it will be set to 'neg_prediction' in the main function. |

`lb` |
A vector; lower bounds for the controllable factors. |

`ub` |
A vector; upper bounds for the controllable factors. |

`model` |
A km object; retruned by DiceKriging::km. |

A list

solution: a vector; the optimal solution.

objective: a double; the maximum value of the predicted surface.

PengChenEngineer/OptRegionGRFr documentation built on July 23, 2018, 12:10 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.