Skip to content

Commit

Permalink
Rename equality to fixed constraint for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
jfowkes committed Apr 20, 2023
1 parent 05facf1 commit 7d25174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pycutest/sifdecode_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def update_classifications(verbose=False):
*C* (single letter) - type of constraints
* ``U`` .. unconstrained
* ``X`` .. equality constraints on variables
* ``X`` .. fixed variables
* ``B`` .. bounds on variables
* ``N`` .. constraints represent the adjacency matrix of a (linear) network
* ``L`` .. linear constraints
Expand Down Expand Up @@ -186,7 +186,7 @@ def update_classifications(verbose=False):
'S' : 'sum of squares',
'O' : 'other'},
'constraints': {'U' : 'unconstrained',
'X' : 'equality',
'X' : 'fixed',
'B' : 'bound',
'N' : 'adjacency',
'L' : 'linear',
Expand Down Expand Up @@ -266,7 +266,7 @@ def find_problems(objective=None, constraints=None, regular=None,
If a requirement is not given, it is not applied. See below for details on the requirements.
:param objective: a string containing one or more substrings (``'none'``, ``'constant'``, ``'linear'``, ``'quadratic'``, ``'sum of squares'``, ``'other'``) specifying the type of the objective function
:param constraints: a string containing one or more substrings (``'unconstrained'``, ``'equality'``, ``'bound'``, ``'adjacency'``, ``'linear'``, ``'quadratic'``, ``'other'``) specifying the type of the constraints
:param constraints: a string containing one or more substrings (``'unconstrained'``, ``'fixed'``, ``'bound'``, ``'adjacency'``, ``'linear'``, ``'quadratic'``, ``'other'``) specifying the type of the constraints
:param regular: a boolean, ``True`` if the problem must be regular, ``False`` if it must be irregular
:param degree: list of the form ``[min, max]`` specifying the minimum and the maximum number of analytically available derivatives
:param origin: a string containing one or more substrings (``'academic'``, ``'modelling'``, ``'real-world'``) specifying the origin of the problem
Expand Down

0 comments on commit 7d25174

Please sign in to comment.