Integration of Knowledge-based configuration with fuzzy logic and optimization