Skip to main content

Multi-objective WAO algorithm

Project description

MOWAO

Multi-objective WAO algorithm python package.

Example

import mowao
import numpy as np
import matplotlib.pyplot as plt


def ZDT1(x, f, cb):
    f1 = x[0]
    g = 1 + 9.0 / (len(x) - 1) * sum(x[1:])
    f2 = g * (1 - pow((f1 / g), 0.5))
    f[0] = f1
    f[1] = f2


def main():
    mw = mowao.mowao()
    mw.maxiter = 100
    mw.hpop = 100
    mw.nrepo = 80
    mw.bond_radius = 0.001
    mw.push = 0.5
    mw.evaporate = 0.5
    mw.coef = 2

    mw.nobj = 2
    mw.nvar = 10
    mw.func_set(ZDT1, None)
    mw.alloc()
    for i in range(mw.nvar):
        mw.lb[i] = 0.0
        mw.ub[i] = 1.0
        mw.vlb[i] = -0.15
        mw.vub[i] = 0.15

    mw.init()
    mw.run(0)  # mw.run(1)
    show(mw)
    mw.clean()


main()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mowao-0.0.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (47.6 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

mowao-0.0.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (44.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

mowao-0.0.2-cp313-cp313-win_amd64.whl (30.6 kB view details)

Uploaded CPython 3.13Windows x86-64

mowao-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (42.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

mowao-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (43.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file mowao-0.0.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mowao-0.0.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4e15c89fb94c74f7180563d182474aface5ecc7149c415e09e7726e30f5780ce
MD5 ec7fdfe7118b61a775e3724c4bc61d72
BLAKE2b-256 5f288e0ed32dc54222c9bf601225775f3e0ee7f07a47f8b5d519ea98b926fef9

See more details on using hashes here.

File details

Details for the file mowao-0.0.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mowao-0.0.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8f1dac26f18c3d38c4d6e995d412b9803f9af27da5166626513f898b896cb5ff
MD5 7c838224ae4682840b1dbd94c9b1c4df
BLAKE2b-256 98107fad1170fe2791d5c1a759019b97b843a476f43dda2c5fa2c4cd5592bff4

See more details on using hashes here.

File details

Details for the file mowao-0.0.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: mowao-0.0.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mowao-0.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 21b8be089c0fdfec5d3e95345889f8ad89d56177941ac75a60b1d628cd9cf609
MD5 aba8d14c4c2000738cdd24db66bc27ef
BLAKE2b-256 1fb31a457319e84a60b2b499947c06ee2d2022bf80dddb8961dd205875303f64

See more details on using hashes here.

File details

Details for the file mowao-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mowao-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e1c1a2b3f4a0f5b1caa836d996256d142d7b4cba750b3a2225a0ab4232ca1d81
MD5 cf7dab698c6b268e08d4f7f93653bb8b
BLAKE2b-256 b893b552a96cabb2a7cf916a1c47ce7a0f6877ce073f6b80af2d2a6514191d05

See more details on using hashes here.

File details

Details for the file mowao-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mowao-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 83c1e0e3c242a637cd7942653cfa80362bea5938bfc728ee9fd777f6fc614988
MD5 684e102fca5060c3b1ed303be470e6ed
BLAKE2b-256 0a6153a619cd4c3117e62a8e459fff894b3a6cde10c51bebe869fed467f4d351

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page