File Exchange

image thumbnail

Optimal Component Selection Using the Mixed-Integer Genetic Algorithm

version (148 KB) by

Use the mixed-integer genetic algorithm to solve an engineering design problem.



View License

Designs often require that components come from a list of available sizes. In this example, we show how the Genetic Algorithm can be used to find values for the Resistors and Thermistors in a circuit that meet our design criteria. The example uses optimization techniques to minimize the difference between a desired response curve and the curve generated from a simulation of the circuit. Because Resistors and Thermistors are only available in standard sizes, this becomes an interger-constrained problem as our design variables are limited to these standard sizes.

Comments and Ratings (8)

Wow, never look at solving circuits this is before. Most of the time engineering pick components that match somewhat to the desired curve. very nice

thanks for sharing the file. and is this maxima fun or minima func ..

Dragos Dinca

Yang Zhang

Very Useful! Thank you!


karra (view profile)

can this be implemented with global optimization tool box ?


karra (view profile)

how can i implement it to an 4th order butterworth filter please help me

anh tq

anh tq (view profile)


Updated license


Updated ThOptimPlot for new graphics

MATLAB Release
MATLAB 8.4 (R2014b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video