top of page
Search
Adisorn O.
Dec 10, 20231 min read
Solving nonlinear constrained optimization -- Part 1 equality constraint)
NL optimization problem with equality constraint can be posted as: Min f(x) h_j(x) = 0, j = 1..n We can use Lagrange multiplier to...
3 views
Adisorn O.
Dec 8, 20231 min read
Understanding Lower and Upper Bound Theorem for Collapse Load Analysis of Structures
The lower-bound and upper-bound collapse load theorems are fundamental concepts in structural engineering, particularly in the field of...
143 views
Adisorn O.
Dec 6, 20231 min read
Example: Maximize flow for a trench section
The F90 code is written by program app_1 implicit none real :: x, up, upp, u, dx real,parameter :: pi = 3.1416 integer :: i u(x) =...
4 views
Adisorn O.
Dec 6, 20231 min read
Example: Solving nonlinear constraint optimization problem using Lagrange Multiplier
The solution is L1 = 3.33 m, L2 = 6.67 m with Lambda = -0.5547. The value of lambda is negative in this problem. The F90 code is shown...
8 views
Adisorn O.
Dec 6, 20232 min read
F90 subroutine for Gauss Elimination with partial pivoting
! Main Program PROGRAM SolveLinearSystem IMPLICIT NONE REAL, DIMENSION(3, 3) :: A REAL, DIMENSION(3) :: b INTEGER :: n ! Define the...
9 views
Adisorn O.
Dec 3, 20231 min read
FORTRAN 95 Cheat Sheet
! Program Structure: PROGRAM ProgramName ! Declarations and statements CONTAINS ! Subroutines and functions END PROGRAM ProgramName !...
5 views
Adisorn O.
Oct 21, 20231 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...
21 views
Adisorn O.
Oct 14, 20234 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...
35 views
Adisorn O.
Jul 22, 20230 min read
9 views
Adisorn O.
Jul 19, 20231 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,...
6 views
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 =...
5 views
Adisorn O.
Jul 18, 20230 min read
7 views
Adisorn O.
Jul 15, 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 =...
3 views
Adisorn O.
Jul 12, 20231 min read
Spiral Concrete Staircase
A spiral concrete staircase is considered quite a complex member. It must carry various kinds of forces simultaneously: bending, shear,...
11 views
Adisorn O.
Jun 24, 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...
3 views
Adisorn O.
Jun 23, 20231 min read
SIMULATED ANNEALING FLOWCHART
The flowchart of simulated annealing algorithm can be explained below:
4 views
Adisorn O.
Jun 14, 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...
13 views
Adisorn O.
Jun 3, 20232 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...
15 views
Adisorn O.
May 29, 20231 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...
12 views
Adisorn O.
May 13, 20232 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...
69 views
bottom of page