© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
H. Li, PhDNumerical Methods Using Kotlinhttps://doi.org/10.1007/978-1-4842-8826-9_9

9. Unconstrained Optimization

Haksun Li, PhD1  
(1)
Hong Kong, China
 

Unconstrained optimization finds a variable (or a set of variables) that minimize or maximize an objective function without restrictions on their values. Mathematically, it says, find x such that function f(x) takes the smallest value.

$$ {x}^{\ast }=\underset{x}{\min }f(x) $$

x may be a scalar (in ℝ1) or a vector (in ℝn). f(x) is always a scalar (in ℝ1). Unconstrained optimization has applications in many branches of science. In finance, constructing ...

Get Numerical Methods Using Kotlin: For Data Science, Analysis, and Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.