Skip to content

SonnySon-P/Optimization-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimization Algorithms for Golang

一、動機: 以下程式碼是我過去在學習數值分析與解決最佳化問題時所接觸的經典演算法。透過以Golang重新實作,不僅是語法上的練習,也讓我得以重溫這些演算法背後的核心理念。

二、使用語言: Golang

三、開發IDE: Visual Studio Code

四、最佳化演算法:

  1. 牛頓法(Newton’s Method)
  2. 梯度下降法(Gradient Descent)
  3. 粒子群演算法(Particle Swarm Optimization, PSO)
  4. 模擬退火法(Simulated Annealing, SA)
  5. 螞蟻演算法(Ant Colony Optimization, ACO)

五、未來規劃: 目前尚缺一項知名的最佳化演算法─基因演算法(Genetic Algorithm),未來有空時,將會補上以完善整體內容。相關作品可參照Route planning based on time constraints