Skip to Main Content
Applying Math with Python - Second Edition
book

Applying Math with Python - Second Edition

by Sam Morley
December 2022
Intermediate to advanced content levelIntermediate to advanced
376 pages
10h 8m
English
Packt Publishing
Content preview from Applying Math with Python - Second Edition

9

Finding Optimal Solutions

In this chapter, we’ll address various methods for finding the best outcome in a given situation. This is called optimization and usually involves either minimizing or maximizing an objective function. An objective function is a function with one or more arguments that returns a single scalar value, representing the cost or payoff for a given choice of parameters. The problems regarding minimizing and maximizing functions are actually equivalent to one another, so we’ll only discuss minimizing object functions in this chapter. Minimizing a function, , is equivalent to maximizing the function. More details on this will ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Doing Math with Python

Doing Math with Python

Amit Saha

Publisher Resources

ISBN: 9781804618370Supplemental Content