opt.single_objective.glob.min_function_one_variable_problem package
Submodules
opt.single_objective.glob.min_function_one_variable_problem.min_function_one_variable_problem module
- class opt.single_objective.glob.min_function_one_variable_problem.min_function_one_variable_problem.MinFunctionOneVariableProblem(expression: str, domain_low: float, domain_high: float)
Bases:
Problem
- copy()
Copy the current target problem
- Returns:
new Problem instance with the same properties
- Return type:
- classmethod from_input_file(input_file_path: str, input_format: str)
Additional constructor. Create new MaxFunctionOneVariableMaxProblem instance when input file and input format are specified
- string_rep(delimiter: str, indentation: int = 0, indentation_symbol: str = '', group_start: str = '{', group_end: str = '}') str
String representation of the target problem instance
- Parameters:
delimiter (str) – delimiter between fields
indentation (int, optional, default value 0) – level of indentation
indentation_symbol (str, optional, default value '') – indentation symbol
group_start (str, optional, default value '{') – group start string
group_end (str, optional, default value '}') – group end string
- Returns:
string representation of instance that controls output
- Return type: