https://medium.com/@monocosmo77/research-on-constrained-optimization-part1-machine-learning-2024-897dc18fba2c