image thumbnail

updated 1 month ago

Truss Design Optimization Based on Generative Algorithms by James Allison

Supplementary material for a WCSMO publication regarding truss design optimization. (structural design, aerospace, automotive)

D=TrussData(Coord, Con)

GAcon(x)

JacobianStresscal(D, Area)

image thumbnail

updated 3 months ago

Genetic Algorithm to Optimise Schaffer's F6 Function by Dean Kayton

A basic GA with a real-time plotting of evaluation funtion inputs and outputs (ga, f6, genetic algorithm)

[chromoChild]=f6Seed(popSize,method)

[fitness,sel]=f6FitSel(f6EvalFun,popSize)

dec2gc(dec,N)

image thumbnail

updated 4 months ago

London Kings Cross Western Concourse Genetic Algorithm by Dean Kayton

A simple genetic algorithm is applied to a model of the London Kings Cross Western Concourse. (genetic algorithm, kings cross, concourse)

D=MSAdata(x,y,z,nodNo,memSel,radSel,dim_prop_rhs,dim_prop_c...

[Qcell,Vcell,Rcell]=MSA(D,popSize)

[chromoChild]=seed(popSize,method)

image thumbnail

updated 5 months ago

Calculating Minimun value on Function Genetic Algorithms by Daniel

Calculus of function min value (optimization, genetic algorithm, mathematics)

Solo_F1.m

image thumbnail

updated 7 months ago

Genetic Packman by Hanan Kavitz

A simple demonstration of Genetic Algorithm using all times favorite game. (optimization, global optimization, genetic algorithm)

[x,fval,exitFlag]=geneticPackman(cubeSize,numOfMoves,packma...

mutate_permutation(parents ,options,NVARS, ...

val=greedyPackman(field,numOfSteps)

image thumbnail

updated 8 months ago

Basic Genetic Algorithm by Xavier Blasco

An easy to use Genetic Algorithm (genetic algorithm cpo..., cpoh, genetic algorithm)

gaiteracion(gaDat)

garesults(gaDat)

valor=objfun_schwefel_p(x,param)

image thumbnail

updated 8 months ago

Image reconstruction by Hanan Kavitz

The purpose of this demo is to reconstruct a simple picture of several polygons. (image processing, image reconstruction, global optimization)

imageBuilding

[state,options,optchanged]=drawBestSolution(options,state,~...

mygaplotbestf(options,state,flag)

image thumbnail

updated 8 months ago

Open Genetic Algorithm Toolbox by Alan de Freitas

This is a toolbox to run a GA on any problem you want to model. (multiobjective optimi..., collaborative genetic..., open genetic algorith...)

GA( problem, settings, population )

GA_gui(varargin)

adaptation_individual( population, ~, settings)

image thumbnail

updated 1 year ago

Machine learning - balancing a stack of balls by Peter Bone

A genetic algorithm is used to train a neural network controller to balance a stack of balls. (neural network, machine learning, genetic algorithm)

LCP(M,q,l,u,x0,display)

MLPControl(u,NN)

crossover(gene1,gene2)

image thumbnail

updated 1 year ago

Genetic Algorithm for n-queen problem by Swapnil Marathe

N-queen generalized genetic algorithm. Parameters can be changed and tested (8 queen problem, genetic algorithm, genetic)

n_queen_problem_genetic_algo_display.m

n_queen_problem_genetic_algo_without_display.m

image thumbnail

updated 1 year ago

Optimal Component Selection Using the Mixed-Integer Genetic Algorithm by Seth DeLand

Use the mixed-integer genetic algorithm to solve an engineering design problem. (genetic algorithm, mixed integer, optimization)

ThOptimPlot(options,state,flag,Tdata,VData,Res,ThVal,ThBeta...

objectiveFunction(x,StdRes, StdTherm_Val, StdTherm_Beta,Tda...

tempCompCurve(x,Tdata)

image thumbnail

updated 1 year ago

Knapsack problem by Hanan Kavitz

A well known combinatorial problem (knapsack problem, optimization, linear programming)

knapsackGA

image thumbnail

updated 1 year ago

gapolyfitn by Richard Crozier

optimises the functional form of a multi-dimensional polynomial fit to model data (optimization, linear regression, modelling)

GenerateNewTerm(vars, maxPower, poly, maxLoops)

HasTerm(p1, p2, newTerm, vars)

PolyFitScore(polyVec, polyStruct)

image thumbnail

updated 1 year ago

Reproduction Operator: Roulette wheel selection by Saurav Nandi

Roulette wheel operator is a commonly used reproduction operator. (roulette wheel, matlab, population selection)

GA_Roulette_Wheel_Selection.m

image thumbnail

updated 1 year ago

Traveling Salesman Problem - Genetic Algorithm by Joseph Kirk

Finds a near-optimal solution to a TSP using a GA (optimization, genetic algorithm, tsp)

tsp_ga(xy,dmat,popSize,numIter,showProg,showResult)

image thumbnail

updated 1 year ago

Open Traveling Salesman Problem - Genetic Algorithm by Joseph Kirk

Finds a near-optimal solution to a "open" variation of the TSP using a GA (optimization, traveling salesman pr..., open variation)

tspo_ga(xy,dmat,popSize,numIter,showProg,showResult)

image thumbnail

updated 1 year ago

Multiple Traveling Salesmen Problem - Genetic Algorithm by Joseph Kirk

Finds a near-optimal solution to a M-TSP using a GA (multiple traveling sa..., genetic algorithm, tsp)

mtsp_ga(xy,dmat,nSalesmen,minTour,popSize,numIter,showProg,...

image thumbnail

updated almost 2 years ago

NGPM -- A NSGA-II Program in Matlab v1.4 by Song Lin

NSGA-II and R-NSGA-II in Matlab (multiobjective, genetic algorithm, nsgaii)

TPR_DTLZ2_objfun_10obj(x)

TPR_DTLZ2_objfun_3obj(x)

TPR_DTLZ2_objfun_5obj(x)

image thumbnail

updated 2 years ago

Travelling salesman problem with Genetic algorithm by Maxim Vedenyov

GUI and no GUI versions, with description in docx file (evolution, ga, genetic algorithm)

gch=insert_begining_slow(g1,g2,cp)

gch=insert_begining_slow(g1,g2,cp)

ii=roulette_wheel_indexes(m,prn)

image thumbnail

updated 2 years ago

MDMTSPV_GA - Multiple Depot Multiple Traveling Salesmen Problem solved by Genetic Algorithm by Elad Kivelevitch

Genetic Algorithm Solution to the Multiple Depots, MTSP, with Variable number of salesmen (multiple traveling sa..., mtsp, genetic algorithm)

mdmtspv_ga(xy,max_salesmen,depots,CostType,min_tour,pop_siz...

image thumbnail

updated 2 years ago

2d bin packing problem with genetic algorithm by Maxim Vedenyov

With mutations, crossover, ect. With animation (bin packing problem, mutation, genetic algorithm)

ii=roulette_wheel_indexes(m,prn)

ga_2d_box_packing.m

ga_2d_box_packing_movie.m

image thumbnail

updated 2 years ago

Truss Solver and Genetic Algorithm Optimzer by spencer

Solver uses a Direct Stiffness Method. GA modifies X,Y,Z coordinates of nodes and areas of elements. (truss, direct stiffness meth..., truss structure)

EvolveGui

Evolve_JustaLine(Psize,N,rate,F,plotornot)

Evolve_SimpleBridge(Psize,N,rate,F,plotornot)

image thumbnail

updated 2 years ago

Camouflage evolution simulation with Genetic algorithm by Maxim Vedenyov

4x4 images dissapear on background. (camouflage, evolution, simulation)

ii=roulette_wheel_indexes(m,prn)

camouflage_ga.m

camouflage_ga_avi.m

image thumbnail

updated 2 years ago

TurboGA: A Simple Genetic Algorithm With a Powerful Performance Enhancing Tweak by Keki Burjorjee

A simple genetic algorithm with a tweak, called clamping, that should improve performance (combinatorial optimiz..., genetic algorithm, optimization)

fitness=R1(pop)

fitness=oneMax(pop)

turboGA.m

image thumbnail

updated 2 years ago

SpeedyGA: A Fast Simple Genetic Algorithm by Keki Burjorjee

A vectorized implementation of a simple genetic algorithm in Matlab (evolutionary algorith..., genetic algorithm, combinatorial optimiz...)

fitness=R1(pop)

fitness=oneMax(pop)

speedyGA.m

image thumbnail

updated almost 3 years ago

Speeding Up Optimization Problems with Parallel Computing by Stuart Kozola

Files from the webinar: Speeding up optimization problems with parallel computing (aerospace, automotive, demo)

Electron Problem Optimization

First Order Reliability Method using a Simulink Flutter Mod...

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

image thumbnail

updated 3 years ago

Global Optimization with MATLAB by Stuart Kozola

Demo files from the 2010 webinar "Global Optimization with MATLAB Products" (direct search, genetic algorithm, global optimization)

Global Minimization of 1D Equation

Springboard for Global Optimization Demos

PlotIterates(x,optimValues,state)

image thumbnail

updated 3 years ago

Many testfunctions for global optimizers by Rody Oldenhuis

test functions for global optimizers (genetic algorithm, test function, global optimization)

ackley(X)

beale(X)

bird(X)

image thumbnail

updated almost 4 years ago

GODLIKE - A robust single-& multi-objective optimizer by Rody Oldenhuis

GODLIKE combines 4 global optimizers for both single/multi-objective optimizations (optimization, genetic algorithm, classes)

GODLIKE(funfcn, popsize, lb, ub, varargin)

GODLIKE_DEMO

set_options(varargin)

image thumbnail

updated almost 4 years ago

NSGA - II: A multi-objective optimization algorithm by Aravind Seshadri

A function for multi-objective optimization using evolutionary algorithms (genetic algorithm, multiobjective optimi..., nsga ii)

evaluate_objective

function [number_of_objectives, number_of_decision_variable...

function f = genetic_operator(parent_chromosome, M, V, mu,...

image thumbnail

updated almost 4 years ago

Multi-Objective Optimizaion using Evolutionary Algorithm by Aravind Seshadri

Examples of Multi-Objective Optimization using evolutionary algorithm - NSGA-II (multiobjective optimi..., genetic algorithm, optimization)

Main Function

Non-Donimation Sort

function f = genetic_operator(parent_chromosome,pro,mu,mum...

image thumbnail

updated 4 years ago

Developing a Financial Market Index Tracker using MATLAB OOP and Genetic Algorithms by Mark Hoyle

Files used in the webinar of the same name (finance, modeling, analysis)

CreateIndex(NumDays,NumStocks,TotalNumStocks,L,K,s,t)

GetGAData(Wts,Stocks,Dates,StartDate)

InitialiseSession

image thumbnail

updated 4 years ago

Imperialist Competitive Algorithm (ICA) by Esmaeil Atashpaz Gargari

The code of recently introduced optimization strategy, Imperialist Competitive Algorithm (ICA). (mathematics, optimization, alogrithms)

AssimilateColonies(TheEmpire,AlgorithmParams,ProblemParams)

CreateInitialEmpires(InitialCountries,InitialCost,Algorithm...

DisplayEmpires(Empires,AlgorithmParams,ProblemParams,Displa...

image thumbnail

updated almost 5 years ago

Genetic Algorithm Solution to Economic Dispatch by Saloman Danaraj

This program solves the economic dispatch problam using MATLAB genetic algorithm toolbox (econmoic dispatch, optimization, genetic algorithm)

eldga.m

eldga1.m

gatest.m

image thumbnail

updated 5 years ago

Straight-line fitting genetic algorithm by Evaristo Rojas Mayoral

It uses a genetic algorithm for straight-line fitting. (fitting, genetic algorithm, straightline)

ag_recta(x,y)

image thumbnail

updated 5 years ago

Genetic Algorithm by Djaghloul Mehdi

Multimodal Function Optimisation (ga, function, genetic algorithm)

Fit_fun_val=fit_fun(v)

[w]=JGAopt(w0,pop_size,Kga_fin,Max_error)

image thumbnail

updated 5 years ago

Genetic Algorithm by MEKHMOUKH Abdenour

Genetic Algorithm (approximate solutions, search technique, ga)

application(varargin)

demarrerapplication(varargin)

fonction.m

image thumbnail

updated 5 years ago

Global maximum point for 3D surface using GA by Ali Talib Oudah

Finding the global maximum height for 3D multiple peak surface using genetic algorithm (3d, genetic algorithm, ga)

d=mutate(offs,mutprop)%uniform mutation.

multipeak(pop)

off=cross(parent,croprop)% arithmatic crossover

image thumbnail

updated 5 years ago

MathWorks Webinar: Using Genetic Algorithms in Financial Applications by Oren Rosen

Presentation and M-Files for MathWorks Webinar (cardinality constra, analysis, finance)

ComputeBestPortfolio(expRet,expCov,portSize,targetRet)

ComputeHistoricalStats(prices)

FindTarget(target)

image thumbnail

updated 5 years ago

Model Determination using Genetic Algorithm: Forst-Kalkwarf-Thodos Model by Housam Binous

computes four parameters of Forst-Kalkwarf-Thodos Model (chemistry, physics, gatool)

binous2

f=FKTeq(ps,T)

f=FKTeq2(ps,T)

image thumbnail

updated almost 6 years ago

Dynamic and control of tank’s height using genetic algorithm toolbox and fminsearch by Housam Binous

computes dynamic behaviour and controls tank’s height (chemistry, physics, genetic algorithm)

binousga2

f=obj(par)

f=obj2(par)

image thumbnail

updated almost 6 years ago

Model Determination using Genetic Algorithm: Application to Vapour Pressure vs Temperature Equations by Housam Binous

Model determination using the genetic algorithm (chemistry, physics, gatool)

binous

binous2

f=Mantoine(T)

image thumbnail

updated 7 years ago

Genetic Algorithm Performance by Javad Ivakpour

Find the maximum with GA and show that how it is happened (for constrained and unconstrained problem (optimization, genetic algorithm, ga)

GA

GAconstrain

plot00(cx)

image thumbnail

updated 7 years ago

Stochastic Search and Optimization by James Spall

Code in support of book Introduction to Stochastic Search and Optimization. (mathematics, stochastic optimizati..., genetic algorithm)

y=bit2num(th_bit,b,thetmin,thetmax)

y=fitpop(thetabit,bits,loss)

y=num2bit(th_element,b,thetmin,thetmax)

image thumbnail

updated 7 years ago

Optimal Distribution Substations Placement using Genetic Algorithm by Amir Pouya Khansaryan

Finds the optimal location and capacity of distribution substations (optimization, genetic algorithm, distribution)

DSP(varargin)

FValue=SP_tlosscost1(InValue)

FValue=SP_tlosscost1(InValue)

image thumbnail

updated 7 years ago

New Approaches to Constrained Optimization in MATLAB by Rakesh Kumar

M-files accompanying the webinar held on November 05, 2005 (optimization, direct search, pattern search)

nonSmoothFcn(x)

showNonSmoothFcn(fcn,range)

springConstraints(x,Fo,Fc,delta,G,Nf,a,rho)

image thumbnail

updated 8 years ago

Shuffled Complex Evolution (SCE-UA) Method by Qingyun Duan

An efficient and robuse global optimization method. (genetic algorithm, global optimization, sce)

[snew,fnew,icall]=cceua(s,sf,bl,bu,icall,maxn)

f=functn(nopt,x)

f=functn(nopt,x)

image thumbnail

updated 8 years ago

Sequency(Walsh) ordered Hadamard matrix by Gylson Thomas

The function generates the sequency (Walsh) ordered Hadamard matrix. (application, hadamard matrix, sequency)

mtxseq(N);

image thumbnail

updated 8 years ago

Optimization with MATLAB and the Genetic Algorithm and Direct Search Toolbox by Rakesh Kumar

M-files used in the webinar held on September 16, 2004. (genetic algorithm, direct search, optimization)

fminuncOut(x,optimvalues, state)

fminuncOut1(X, optimvalues, state)

gaplotbestfun(options,state,flag)

Contact us