top of page
Search


Firefly Algorithm: Part 2 -- Algorithm explained
It is convenient to explain the algorithm from the pseudo code. Considering the algorithm of Firely as given in Yang (2008). Randomly...
Adisorn O.
Feb 23, 20241 min read


Firefly Algorithm (FA): Part I -- Introduction & Concept
Adisorn Owatsiriwong ALPS Consultants Introduction: Firefly algorithm is another metaheuristic approach for global optimization. The...
Adisorn O.
Feb 23, 20242 min read


PSO algorithm for Multi-Objective Optimization: Part 1- Development Concept
Adisorn Owatsiriwong, D.Eng. The PSO framework for Multi-objective optimization (MOO) can be evolved from PSO code for single-objective...
Adisorn O.
Feb 6, 20241 min read


Introduction to Particle Swarm Optimization (Diagrams GPT)
Mindmap Flow chart
Adisorn O.
Feb 4, 20241 min read


Gradient Descent Method: Considerations for complex search landscape
Since the sphere and Matyas functions contain only one global minimum, Gradient descent is effectively used to find that minimum at...
Adisorn O.
Oct 21, 20231 min read


Multi-Objective Optimization Problems: Part 1
Adisorn Owatsiriwong, D.Eng. In real life, the best solution that fulfills a single objective function might not be the best solution for others. It's rare to obtain one solution that beats all objectives. This gives us the motivation to solve multi-objective optimization problems. Considering a cantilever beam subjected to loading at the far end, the design objective might be f1: Minimum deflection f2: Minimum material volume or weight The beam design problem is u
Adisorn O.
Oct 14, 20234 min read


Numpy's Cheat sheet for ML from datacamp.com
# Import the library import numpy as np # Create a 1D array a = np.array([1, 2, 3]) # Create a 2D array b = np.array([[1, 2, 3], [4, 5,...
Adisorn O.
Jul 19, 20231 min read


Panda's Cheat Sheet for ML
# Import the library import pandas as pd # Create a DataFrame df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]}) # Read a CSV file df =...
Adisorn O.
Jul 19, 20231 min read


PYTHON Cheat Sheet
Here is a basic cheat sheet for structured programming in Python: **1. Variables and Data Types** ```python # Strings string_var =...
Adisorn O.
Jul 15, 20231 min read


PILE-OP : A Preview of AI tool for pile group design
We have collaborated with Posteck Prestressing in development of AI design tools project for post-tensioned slab design and pile design...
Adisorn O.
Jun 24, 20231 min read


SIMULATED ANNEALING FLOWCHART
The flowchart of simulated annealing algorithm can be explained below:
Adisorn O.
Jun 23, 20231 min read


Generation of Tendon Profile under user's Control Parameters
In most metaheuristic algorithms like Genetic Algorithm, Simulated Annealing, or particle swarm optimization, it is required to generate...
Adisorn O.
Jun 14, 20231 min read


Basic in R Programming
R is currently one of the most popular languages for data analysis among Python, MATLAB, and Java. It is highly capable of statistical...
Adisorn O.
Jun 3, 20232 min read


Artificial Intelligence Applications in Engineering: Our Vision
Overview: At present, Artificial Intelligence for engineering design has evolved into a mature stage and is widely used among qualified...
Adisorn O.
May 29, 20231 min read


Solving Traveling Salesman Problem using Genetic Algorithm
Adisorn Owatsiriwong, D.Eng. The Traveling Salesman Problem (TSP) is a standard combinatorial problem to test an optimization algorithm...
Adisorn O.
May 13, 20232 min read


Using Dictionary in MATLAB
MATLAB's dictionary is a simple function to match two lists of constants. This is very practical when coding combinatorial optimization...
Adisorn O.
May 12, 20231 min read


Passing functions as arguments in MATLAB
MATLAB allows us to pass functions as arguments of another function. This is very useful when we call other functions (for example,...
Adisorn O.
May 10, 20231 min read


Genetic Algorithm: Pseudo Code
(The code as generated by CHAT-GPT with my commentary as shown with ##) # Define parameters for Genetic Algorithm ## Commentary: This defines the control parameters for GA solver POPULATION_SIZE = 100 GENERATIONS = 100 MUTATION_PROBABILITY = 0.1 CROSSOVER_POINTS = 2 # Define initial population ## Commentary: As same as most Meta-Heuristic searches, we must randomize the first set of tested solutions for the amount as defined by the control parameter population = generate_p
Adisorn O.
May 10, 20232 min read
bottom of page




