Beispiel #1
0
        "num": 4
    }],
    "outputsDef": [{
        "name": "displacement",
        "type": "objective",
        "goal": "min"
    }, {
        "name": "material",
        "type": "objective",
        "goal": "min"
    }, {
        "name": "utilization",
        "type": "constraint",
        "goal": "less than 50.0"
    }],
    "algo":
    "GA",
    "algoOptions": {
        "numGenerations": 100,
        "numPopulation": 100,
        "mutationRate": 0.05,
        "saveElites": 5
    },
    "jobOptions": {
        "screenshots": True
    }
}

# job.createInputFile(jobDescription)
job.run(jobDescription)
Beispiel #2
0
from src.job import run

if __name__ == "__main__":
    run()