pyleecan.Functions.Optimization.check_cstr module

check_cstr(solver, indiv)[source]

Check the number of constraints violations of the individual

Parameters:
  • solver (Solver) – Global optimization problem solver

  • indiv (individual) – Individual of the population

Returns:

is_feasible – Individual feasibility

Return type:

bool