barrierfunksjon
Barrierfunksjon, also known as a barrier method or interior-point method in optimization, is a class of algorithms used to solve constrained optimization problems. These methods work by transforming a constrained problem into a sequence of unconstrained problems. This transformation is achieved by adding a penalty term to the objective function, which becomes infinitely large as the solution approaches the boundary of the feasible region.
The core idea behind barrier functions is to stay strictly within the feasible region during the optimization
Different types of barrier functions exist, such as the logarithmic barrier function and the inverse barrier