Skip to content
LUDA · 學思辨行

LUDA · 學思辨行

Learn extensively, Understand deeply, Discern clearly, and Act resolutely.

  • About
  • Learning Path

Category: Optimization

How the simplex algorithm pivots a linear program

November 13, 2026By HoHo Zhao

Short answer: The simplex algorithm solves a linear program by walking from one vertex of the feasible polyhedron to a better neighbor. A basic feasible solution is a vertex. A pivot swaps one basic variable for one nonbasic variable and updates the tableau. If no neighbor improves the objective,…

Algorithms, OptimizationLeave a comment

How simulated annealing accepts an uphill move

November 13, 2026By HoHo Zhao

Short answer: Simulated annealing searches a rough cost surface by proposing a neighbor of the current state and accepting it when the cost falls. When the cost rises by Δ, the move is accepted with probability e^{−Δ/T}. The temperature T decreases on a schedule. High T accepts uphill moves…

Algorithms, OptimizationLeave a comment

How gradient descent steps against the gradient

November 13, 2026By HoHo Zhao

Short answer: Gradient descent minimizes a differentiable function by repeating x ← x − η∇f(x). The gradient is the direction of steepest increase, so the minus sign descends. A step size η that is too large diverges. A step size that is too small crawls. On a convex function…

Algorithms, OptimizationLeave a comment
  • Algorithms
  • Arithmetic
  • Authelia
  • Clustering
  • Coding
  • Compression
  • Cryptography
  • CSS
  • Distributed Systems
  • Docker
  • Dynamic Programming
  • Exact Algorithms
  • Games
  • Geometry
  • Grafana
  • Graphs
  • Greedy
  • Heaps
  • Homelab
  • IPsec
  • LDAP
  • Linear Algebra
  • Logging
  • Loki
  • nginx
  • Number Theory
  • Numerical
  • Optimization
  • Parsing
  • Prometheus
  • Randomization
  • Range Queries
  • Sampling
  • Scheduling
  • Search
  • Searching
  • Sequences
  • Sketches
  • Sorting
  • Streams
  • Strings
  • SVG
  • Synchronization
  • Systems
  • Transforms
  • Trees

Docker EAP-MSCHAPv2 FreeRADIUS Grafana gzip IKEv2 IPsec LogQL Loki OpenLDAP Promtail StrongSwan

© 2026 LUDA · 學思辨行. Powered by WordPress.