Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Julia

You're reading from   Mastering Julia Enhance your analytical and programming skills for data modeling and processing with Julia

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher Packt
ISBN-13 9781805129790
Length 506 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Malcolm Sherrington Malcolm Sherrington
Author Profile Icon Malcolm Sherrington
Malcolm Sherrington
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Chapter 1: The Julia Environment 2. Chapter 2: Developing in Julia FREE CHAPTER 3. Chapter 3: The Julia Type System 4. Chapter 4: The Three Ms 5. Chapter 5: Interoperability 6. Chapter 6: Working with Data 7. Chapter 7: Scientific Programming 8. Chapter 8: Visualization 9. Chapter 9: Database Access 10. Chapter 10: Networks and Multitasking 11. Chapter 11: Julia’s Back Pages 12. Index 13. Other Books You May Enjoy

Optimization

Mathematical optimization problems arise in the fields of linear programming, ML, resource allocation, production planning, and so on.

One well-known allocation problem is that of a traveling salesman who has to make a series of calls and wishes to compute the optimal route between calls. The problem is not tractable but clearly can be solved exhaustively; however, by clustering and tree pruning, the number of tests can be markedly reduced.

The generalized aim is to formulate the minimization of some f(x) function for all values of x over a certain interval, subject to a set of gi(x) restrictions.

The problems of local maxima are also included by redefining the domain of x. It is possible to identify three cases:

  1. No solution exists.
  2. Only a single minimum (or maximum) exists.

    In this case, the problem is said to be convex and is relatively insensitive to the choice of starting value for x.

  3. The f(x) function has multiple extremals.

For this...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime