Skip to content

Integer Problem with MILX and MIPM #99

@howardzzhang

Description

@howardzzhang

Hi,

Thanks for the great package.

I've been testing out an integer minimization problem with GA using mutation = MIPM(lx,ux) and crossover = MILX() based on https://github.com/wildart/Evolutionary.jl/blob/master/examples/mixedint.jl.

I have been getting an Int(some float) error. I am wondering if it's due to the fact that MILX needs a truncation that MIPM performs here

if isa(x, Integer)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions