Do you have any question about this error?
Message type: E = Error
Message class: COM_PME_PARSER - Configuration
Message number: 117
Message text: Restriction not possible: expression not linear
You can only use formulas to restrict a numeric characteristic if the
formula in the characteristic you want to restrict is linear.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
COM_PME_PARSER117
- Restriction not possible: expression not linear ?The SAP error message COM_PME_PARSER117 with the description "Restriction not possible: expression not linear" typically occurs in the context of SAP's optimization and planning tools, such as SAP Integrated Business Planning (IBP) or SAP Advanced Planning and Optimization (APO). This error indicates that the system encountered a non-linear expression when it expected a linear one, which is a requirement for certain types of optimization problems.
Cause:
- Non-linear Expressions: The error arises when the model includes non-linear constraints or objective functions. Linear programming requires that all relationships be linear, meaning they can be expressed in the form of a straight line (e.g., ( ax + by = c )).
- Complex Calculations: If you are using complex calculations or functions (like multiplication of decision variables, powers, or other non-linear functions), the optimizer cannot process these as linear constraints.
- Incorrect Model Setup: Sometimes, the model may be incorrectly set up, leading to unintended non-linear expressions.
Solution:
- Review Expressions: Check the expressions in your model to ensure they are linear. Look for any multiplications of decision variables or other non-linear operations.
- Simplify Constraints: If possible, simplify the constraints or objective functions to ensure they are linear. This may involve breaking down complex calculations into simpler, linear components.
- Use Linear Approximations: If you must use non-linear relationships, consider using linear approximations or piecewise linear functions if supported by your version of SAP.
- Model Configuration: Ensure that the model is configured correctly and that all necessary parameters are set to allow for linear optimization.
- Consult Documentation: Refer to SAP documentation or help resources for specific guidelines on formulating linear models in the context of the tool you are using.
Related Information:
If the problem persists after trying these solutions, it may be beneficial to reach out to SAP support for further assistance, providing them with details about your model and the specific context in which the error occurs.
Get instant SAP help. Start your 7-day free trial now.
COM_PME_PARSER116
Error in conditional restriction (with IF)
What causes this issue? An error was found in a conditional restriction, starting with the keyword IF.System Response The cursor marks the incorrect...
COM_PME_PARSER114
Error in generic function module interface (ABAP): &1
What causes this issue? The syntax check found an error in the function entry . The function module referred cannot be used, because the interface do...
COM_PME_PARSER121
Table/function does not allow inference of values
What causes this issue? If a table/function in an action is not in the conditional part of an action (after IF), the table/function is used to infer ...
COM_PME_PARSER122
Multiple-value formal parameter &1 in table/function &2
What causes this issue? The formal parameters used for tables/functions accessed in dependencies must all be single-value characteristics. However, f...
Click on this link to search all SAP messages.