Options#
- class gamspy.Options(*, cns=None, dnlp=None, emp=None, lp=None, mcp=None, minlp=None, mip=None, miqcp=None, mpec=None, nlp=None, qcp=None, rminlp=None, rmip=None, rmiqcp=None, rmpec=None, allow_suffix_in_equation=None, allow_suffix_in_limited_variables=None, basis_detection_threshold=None, compile_error_limit=1, domain_violation_limit=None, job_time_limit=None, job_heap_limit=None, hold_fixed_variables=None, integer_variable_upper_bound=None, iteration_limit=None, keep_temporary_files=False, license=None, listing_file=None, log_file=None, variable_listing_limit=None, equation_listing_limit=None, node_limit=None, absolute_optimality_gap=None, relative_optimality_gap=None, profile=None, profile_tolerance=None, time_limit=None, savepoint=None, seed=None, report_solution=2, show_os_memory=0, solver_link_type=None, merge_strategy=None, step_summary=None, suppress_compiler_listing=False, report_solver_status=None, threads=None, trace_file=None, trace_file_format=None, write_listing_file=True, zero_rounding_threshold=None, report_underflow=None)[source]#
- Parameters:
cns (str | None) –
dnlp (str | None) –
emp (str | None) –
lp (str | None) –
mcp (str | None) –
minlp (str | None) –
mip (str | None) –
miqcp (str | None) –
mpec (str | None) –
nlp (str | None) –
qcp (str | None) –
rminlp (str | None) –
rmip (str | None) –
rmiqcp (str | None) –
rmpec (str | None) –
allow_suffix_in_equation (bool | None) –
allow_suffix_in_limited_variables (bool | None) –
basis_detection_threshold (float | None) –
compile_error_limit (int) –
domain_violation_limit (int | None) –
job_time_limit (float | None) –
job_heap_limit (float | None) –
hold_fixed_variables (bool | None) –
integer_variable_upper_bound (int | None) –
iteration_limit (int | None) –
keep_temporary_files (bool) –
license (str | None) –
listing_file (str | None) –
log_file (str | None) –
variable_listing_limit (int | None) –
equation_listing_limit (int | None) –
node_limit (int | None) –
absolute_optimality_gap (float | None) –
relative_optimality_gap (float | None) –
profile (int | None) –
profile_tolerance (float | None) –
time_limit (float | None) –
savepoint (Literal[0, 1, 2, 3, 4] | None) –
seed (int | None) –
report_solution (Literal[0, 1, 2]) –
show_os_memory (Literal[0, 1, 2]) –
solver_link_type (Literal[0, 1, 2, 3, 4, 5, 6, 7] | None) –
merge_strategy (Literal['replace', 'merge', 'clear'] | None) –
step_summary (bool | None) –
suppress_compiler_listing (bool) –
report_solver_status (bool | None) –
threads (int | None) –
trace_file (str | None) –
trace_file_format (Literal[0, 1, 2, 3, 4, 5] | None) –
write_listing_file (bool) –
zero_rounding_threshold (float | None) –
report_underflow (bool | None) –
- cns: str | None#
- dnlp: str | None#
- emp: str | None#
- lp: str | None#
- mcp: str | None#
- minlp: str | None#
- mip: str | None#
- miqcp: str | None#
- mpec: str | None#
- nlp: str | None#
- qcp: str | None#
- rminlp: str | None#
- rmip: str | None#
- rmiqcp: str | None#
- rmpec: str | None#
- allow_suffix_in_equation: bool | None#
- allow_suffix_in_limited_variables: bool | None#
- basis_detection_threshold: float | None#
- compile_error_limit: int#
- domain_violation_limit: int | None#
- job_time_limit: float | None#
- job_heap_limit: float | None#
- hold_fixed_variables: bool | None#
- integer_variable_upper_bound: int | None#
- iteration_limit: int | None#
- keep_temporary_files: bool#
- license: str | None#
- listing_file: str | None#
- log_file: str | None#
- variable_listing_limit: int | None#
- equation_listing_limit: int | None#
- node_limit: int | None#
- absolute_optimality_gap: float | None#
- relative_optimality_gap: float | None#
- profile: int | None#
- profile_tolerance: float | None#
- time_limit: float | None#
- savepoint: Literal[0, 1, 2, 3, 4] | None#
- seed: int | None#
- report_solution: Literal[0, 1, 2]#
- show_os_memory: Literal[0, 1, 2]#
- solver_link_type: Literal[0, 1, 2, 3, 4, 5, 6, 7] | None#
- merge_strategy: Literal['replace', 'merge', 'clear'] | None#
- step_summary: bool | None#
- suppress_compiler_listing: bool#
- report_solver_status: bool | None#
- threads: int | None#
- trace_file: str | None#
- trace_file_format: Literal[0, 1, 2, 3, 4, 5] | None#
- write_listing_file: bool#
- zero_rounding_threshold: float | None#
- report_underflow: bool | None#