top of page
Search
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.
18 minutes ago1 min read
2 views
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
2 views

1 view

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
5 views

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
4 views

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
17 views

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
14 views
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
5 views


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
6 views

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
12 views

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
11 views

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
5 views

Adisorn O.
Mar 24, 20241 min read
9 views

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
6 views

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
23 views

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
14 views

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
20 views


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
16 views

Adisorn O.
Feb 21, 20240 min read
13 views
bottom of page