top of page
Search
JAYA Algorithm (Rao, 2006): Overview
The Jaya algorithm , proposed by Prof. R. Venkata Rao (2006), is a simple, yet effective population-based optimization algorithm . The...
Adisorn O.
Aug 12 min read
Â
Â
When to use the 'allocatable' keyword when declaring dynamic arrays in Fortran
It can confuse when to use allocatable keyword when declaring dynamic arrays. We have two scenarios to declare the array here First...
Adisorn O.
Mar 261 min read
Â
Â
MOPSO: A Framework for Multi-objective Particle Swarm Optimization
Explanation of the Code Problem Definition Defines two conflicting objective functions  to minimize. Sets variable bounds (-5 to 5) ....
Adisorn O.
Mar 113 min read
Â
Â


Â
Â


Analogy between Neural Network and Optimization Problems
Adisorn Owatsiriwong To fully understand the relationship between the neural network or deep learning and optimization problems, we can...
Adisorn O.
Aug 29, 20241 min read
Â
Â


Practical Approach in converting Serial to Parallel For Loop (parfor)
Adisorn Owatsiriwong Practical Approach: Converting a serial to parallel for loop must ensure each worker (cpu) handles an independent...
Adisorn O.
Aug 23, 20241 min read
Â
Â


MATLAB's Parallel Computing Concept & Applications : Part 1 - Introduction
Adisorn Owatsiriwong Parallel programming in MATLAB enables us to perform multiple computations simultaneously by dividing tasks into...
Adisorn O.
Aug 12, 20242 min read
Â
Â


Suppressing Vibrations in a 2DOF Mass-Spring System Using a Tuned Mass Damper: Part 1 -- Introduction
Adisorn Owatsiriwong, D.Eng. **Introduction** In many engineering applications, mechanical systems are subjected to dynamic loads that...
Adisorn O.
Aug 9, 20242 min read
Â
Â
Type of Optimization Problems:Combinatorial & Fixed-Variable Problems
Separating combinatorial problems from fixed-variable problems involves understanding the nature of the variables you're dealing with in...
Adisorn O.
Aug 9, 20242 min read
Â
Â


Introducing OptiForm
Adisorn Owatsiriwong, D.Eng. Introducing OptiForm(tm): The Next Level in Shoring Design! We're thrilled to unveil our latest innovation...
Adisorn O.
Aug 7, 20241 min read
Â
Â


Using result() in F90 function to return single array variable
The function with result() in f90 is developed to consistent with high level language like MATLAB. It's rather return the value of...
Adisorn O.
Jul 11, 20241 min read
Â
Â


How to Create Matrix and Vector in modern Fortran (from 2003)
The way modern Fortran provides to create matrix and vector is more convenient, let's check the example below. OUTPUT: A = 1.00000000 ...
Adisorn O.
Jul 10, 20241 min read
Â
Â


LAPACK Package Testing for LU Solver Ax = b
To solve the linear system Ax = b, LAPACK provide a function dgesv() see more detail https://netlib.org/lapack/explore-html-3.6.1/d7/d3b/...
Adisorn O.
Jul 9, 20242 min read
Â
Â


Adisorn O.
Mar 24, 20241 min read
Â
Â


Compute the Minimum Distance between 2 sets of coordinates
The code will compute and get the minimum distance between 2 sets of arbitrary numbers of points in 2D space. It also draws the lines...
Adisorn O.
Feb 24, 20241 min read
Â
Â


Firefly Algorithm: Part 3 -- Design Example
Fig.2 Convergence plot (n = 20, maxGen = 20) This design example shows how the Firefly algorithm can be applied to the gravity wall...
Adisorn O.
Feb 23, 20241 min read
Â
Â


Introduction to Julia and comparison with MATLAB syntax
OpenAI. (2024). ChatGPT (4) [Large language model]. https://chat.openai.com Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and Alan...
Adisorn O.
Feb 23, 20243 min read
Â
Â


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
Â
Â
bottom of page