Optimization algorithm to apply to my system?

AI Thread Summary
The discussion centers on optimizing the annual running costs of a chemical manufacturing plant using a model with over 50 inputs, including various types of chemicals, equipment, and renewable energy systems. The user is exploring metaheuristic methods, specifically Genetic Algorithms (GA) or Particle Swarm Optimization (PSO), due to limitations in computational power for dynamic programming. A key concern is how to handle variables with multiple discrete choices, as many existing algorithms focus on continuous or binary systems. The user seeks guidance on relevant literature and whether a simple fitness function, based on minimizing costs, is sufficient for their optimization problem. Suggestions include using a genetic algorithm to create a solution vector for the variables, score each solution, and iteratively refine the population to approach an optimal solution. It is noted that if all variables have finite discrete values, the problem aligns with integer programming, for which specific algorithms exist.
GregoryB82
Messages
1
Reaction score
0
I am at the moment working on a project in which I try to minimize the annual running costs of a chemical manufacturing plant. To predict annual running costs I created a model with over 50 inputs, including things such as the type of chemicals and equipment used at different points in the process, type of renewable system used to provide energy, type of air conditioning system used at the plant, etc. Some of these inputs are binary (yes/no), while others contain a number of choices (e.g. for renewable system we have a choice of wind/solar/biogas). The model outputs a single number (overall running costs).

Currently I am trying to optimize the system (i.e. find minimum cost) and I have studied some relevant literature. However, I am, as you might say, a optimization novice. From what I have read I do not think I have the computer power to apply dynamic programming to this system, so I am searching for a metaheuristic method such as Genetic Algorithm or PSO. However, much of the literature seems to apply these to continuous space or binary systems. I am confused as some of my variables have 3/4/5/6 possible choices. Would anybody have suggestions for how to solve my problem, or relevant literature applicable to my problem?

Also, since the model only outputs one number, would minimizing the cost be the fitness function? Many fitness functions I see in the literature seem complex, so I wonder if one can be this simple?

Apologies if these questions are stupid or unclear!

Thanks,

Grégory.
 
Technology news on Phys.org
I think you could use a genetic algorithm here. You make a solution vector of your 50 variables and then create a population of solutions by tweaking each one.

Then you need a fitness function to score each solution vector keeping the best and discarding the rest then mix and modify the solutions for the next generation and repeat the process and after a few iterations you'll hopefully have an approximately optimal solution.

https://en.wikipedia.org/wiki/Genetic_algorithm
 
  • Like
Likes GregoryB82
If all your independent variables have a finite number of discrete values, then your problem is an integer programming problem. There are algorithms to solve integer programming problems.
 
  • Like
Likes GregoryB82
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
4
Views
1K
Replies
30
Views
6K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
2
Views
1K
Replies
5
Views
2K
Back
Top