The Particle Swarm Optimization (PSO) is one of th
2016-08-23
0 0 0
no vote
Other
Earn points
using System;
namespace ParticleSwarmOptimization
{
class Program
{
static Random ran = null;
static void Main(string[] args)
{
try
{
Console.WriteLine("\nBegin Particle Swarm Optimization demonstration\n");
Console.WriteLine("\nObjective function to minimize has dimension = 2");
Console.WriteLine("Objective function is f(x) = 3 + (x0^2 + x1^2)");
ran = new Random(0);
int numberParticles = 10;
int numberIterations = 1000;
int
namespace ParticleSwarmOptimization
{
class Program
{
static Random ran = null;
static void Main(string[] args)
{
try
{
Console.WriteLine("\nBegin Particle Swarm Optimization demonstration\n");
Console.WriteLine("\nObjective function to minimize has dimension = 2");
Console.WriteLine("Objective function is f(x) = 3 + (x0^2 + x1^2)");
ran = new Random(0);
int numberParticles = 10;
int numberIterations = 1000;
int
c#
Related Source Codes
No. 186: DX0110- Source code for community propert
0
0
no vote
No. 219: DX0149- Source code for community propert
0
0
no vote
Verification code identification
0
0
no vote
CSV data analysis tool
0
0
no vote
Source code of hospital medical record information
0
0
no vote
No comment