Parma Polyhedra Library requirements
C PIP
  • 1. Parametric problem and context interpretation PPL-LLR-000111

    The parametric integer solver shall interpret problem variables and parameters as nonnegative integers. Constraints involving problem variables shall restrict feasible solutions. Constraints involving only parameters shall restrict the initial context. Without a big parameter, optimization shall seek the lexicographically least feasible variable tuple in the documented variable order for every assignment in that context.

    When a big parameter is designated, the sign decisions that assume it is arbitrarily large shall take the sign of its nonzero coefficient without considering the remaining terms. A finite parameter assignment shall be within the result's scope only when it satisfies the initial context and the signs assumed in those decisions, with artificial parameters evaluated in their introduction order.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001544
1. C parametric problem values and ownership PPL-SPEC-001544

PIP constructors shall create independent owned trivial, copied or constraint-range problems with the selected parameter coordinates. Range and counted-array arguments shall be valid during construction. Assignment shall replace native problem/tree state and rebind its owned nodes to the destination. Deletion shall release owned trees and problem data. Failed construction shall preserve its output handle and release acquired resources.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.

  • 1. Parametric problem and context interpretation PPL-LLR-000111

    The parametric integer solver shall interpret problem variables and parameters as nonnegative integers. Constraints involving problem variables shall restrict feasible solutions. Constraints involving only parameters shall restrict the initial context. Without a big parameter, optimization shall seek the lexicographically least feasible variable tuple in the documented variable order for every assignment in that context.

    When a big parameter is designated, the sign decisions that assume it is arbitrarily large shall take the sign of its nonzero coefficient without considering the remaining terms. A finite parameter assignment shall be within the result's scope only when it satisfies the initial context and the signs assumed in those decisions, with artificial parameters evaluated in their introduction order.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001545
2. C parametric descriptors and parameter lists PPL-SPEC-001545

PIP descriptor queries shall expose native dimension, parameter-coordinate count/list and original constraint count. Constraint-at-index shall return the corresponding borrowed input constraint and reject an out-of-range index without changing the output handle. Output arrays shall have sufficient capacity for their separately queried count. Read-only metadata inspection shall follow the documented safe borrowing rules.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.

  • PPL-LLR-000114
    4. Incremental parametric refinement PPL-LLR-000114

    Following supported additions of dimensions, parameters, or constraints, subsequent completed parametric solver queries shall describe the resulting problem and initial context. When the model is unchanged, repeated queries may reuse the current result. Original coordinates shall retain their meanings through re-solving and artificial-parameter renumbering.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001546
3. C parametric incremental updates PPL-SPEC-001546

PIP clear, variable/parameter growth, parameter-coordinate selection and constraint additions shall have native PIP_Problem effects and admission rules. Variables shall be appended before newly appended parameters. Selected dimensions shall be interpreted as a set. Existing processed decision variables shall not be reinterpreted as parameters. An empty constraint system shall still retain its declared dimension for compatibility checks. Later completed solution queries shall refer to the updated input and initial context.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.

  • 1. Parametric problem and context interpretation PPL-LLR-000111

    The parametric integer solver shall interpret problem variables and parameters as nonnegative integers. Constraints involving problem variables shall restrict feasible solutions. Constraints involving only parameters shall restrict the initial context. Without a big parameter, optimization shall seek the lexicographically least feasible variable tuple in the documented variable order for every assignment in that context.

    When a big parameter is designated, the sign decisions that assume it is arbitrarily large shall take the sign of its nonzero coefficient without considering the remaining terms. A finite parameter assignment shall be within the result's scope only when it satisfies the initial context and the signs assumed in those decisions, with artificial parameters evaluated in their introduction order.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • PPL-LLR-000112
    2. Solution-tree meaning PPL-LLR-000112

    For valid problem data satisfying the optimization operation's stated input and computational-arithmetic preconditions, each solution tree returned by a successfully completed optimization shall, for every parameter assignment in the scope defined by 🔗 1. Parametric problem and context interpretation, identify either the lexicographically least feasible variable tuple or the absence of a feasible tuple. Its decision guards, solution-node guards and scoped artificial parameters shall together preserve this meaning. An absent branch or a failing solution-node guard in such a tree shall denote infeasibility in the corresponding subset of those assignments.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • PPL-LLR-000113
    3. Parametric outcomes and result availability PPL-LLR-000113

    For an ordinary parametric problem, a completed optimization request shall report infeasibility exactly when no assignment in the initial context admits a feasible variable tuple. When a big parameter is designated, the status shall reflect the asymptotic sign decisions under 🔗 1. Parametric problem and context interpretation. Infeasibility in that mode shall exclude solutions within those assumptions. Finite assignments outside them may still have feasible tuples. For both modes, the infeasible status shall have an empty solution tree. An optimized result shall have a solution tree with the meaning specified in 🔗 2. Solution-tree meaning. The configured arithmetic preconditions shall apply.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001547
4. C parametric outcomes and borrowed solution trees PPL-SPEC-001547

PIP satisfiability and solve shall return native boolean/status outcomes in the selected mode, including the big-parameter convention in 🔗 1. Parametric problem and context interpretation. Solution accessors shall return a borrowed root owned by the problem, or null as a successful result for infeasibility in that mode. The solution shall retain native nonnegative-integer, initial-context and lexicographic semantics within the declared assignment scope. Tree handles shall not be modified or deleted. Operations that compute or replace problem/tree state may invalidate them; documented read-only traversal and metadata queries shall remain permitted. Failed access shall preserve its output handle.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.

  • 1. Parametric problem and context interpretation PPL-LLR-000111

    The parametric integer solver shall interpret problem variables and parameters as nonnegative integers. Constraints involving problem variables shall restrict feasible solutions. Constraints involving only parameters shall restrict the initial context. Without a big parameter, optimization shall seek the lexicographically least feasible variable tuple in the documented variable order for every assignment in that context.

    When a big parameter is designated, the sign decisions that assume it is arbitrarily large shall take the sign of its nonzero coefficient without considering the remaining terms. A finite parameter assignment shall be within the result's scope only when it satisfies the initial context and the signs assumed in those decisions, with artificial parameters evaluated in their introduction order.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001548
5. C parametric controls, big parameter and memory PPL-SPEC-001548

PIP cutting/pivot controls and big-parameter selection shall forward native admission and stored values. A designated big parameter shall remain an admitted parameter coordinate and shall select the asymptotic interpretation in 🔗 1. Parametric problem and context interpretation. Native validity and memory results shall be returned or assigned without changing their meaning.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.

  • PPL-LLR-000112
    2. Solution-tree meaning PPL-LLR-000112

    For valid problem data satisfying the optimization operation's stated input and computational-arithmetic preconditions, each solution tree returned by a successfully completed optimization shall, for every parameter assignment in the scope defined by 🔗 1. Parametric problem and context interpretation, identify either the lexicographically least feasible variable tuple or the absence of a feasible tuple. Its decision guards, solution-node guards and scoped artificial parameters shall together preserve this meaning. An absent branch or a failing solution-node guard in such a tree shall denote infeasibility in the corresponding subset of those assignments.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001549
6. C solution-tree kind, guards, children and values PPL-SPEC-001549

Tree-kind accessors shall return an alias of the input node for a matching kind and null for a different kind, without transferring ownership. Decision-child access shall select the requested boolean branch and return null for an absent branch. Guard getters shall return borrowed native constraint systems. Solution-coordinate getters shall return borrowed native affine expressions for decision coordinates, with native domain/index errors for invalid queries. Null handles shall be tested before further use. Traversal and independent coordinate queries shall not invalidate other documented read-only tree views.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.

  • PPL-LLR-000112
    2. Solution-tree meaning PPL-LLR-000112

    For valid problem data satisfying the optimization operation's stated input and computational-arithmetic preconditions, each solution tree returned by a successfully completed optimization shall, for every parameter assignment in the scope defined by 🔗 1. Parametric problem and context interpretation, identify either the lexicographically least feasible variable tuple or the absence of a feasible tuple. Its decision guards, solution-node guards and scoped artificial parameters shall together preserve this meaning. An absent branch or a failing solution-node guard in such a tree shall denote infeasibility in the corresponding subset of those assignments.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001550
7. C artificial-parameter expression and coefficient queries PPL-SPEC-001550

The artificial-parameter input handle shall borrow an element of the owning tree. Expression access shall copy its affine numerator into the caller's existing expression object. That copy shall remain independent of the tree. Coefficient, constant and denominator queries shall assign their stored native values to existing coefficient objects. The artificial value shall remain the mathematical floor of the numerator divided by its positive denominator, including negative numerators. These accessors shall not normalize or replace the source representation or transfer ownership of the artificial parameter.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.

  • PPL-LLR-000112
    2. Solution-tree meaning PPL-LLR-000112

    For valid problem data satisfying the optimization operation's stated input and computational-arithmetic preconditions, each solution tree returned by a successfully completed optimization shall, for every parameter assignment in the scope defined by 🔗 1. Parametric problem and context interpretation, identify either the lexicographically least feasible variable tuple or the absence of a feasible tuple. Its decision guards, solution-node guards and scoped artificial parameters shall together preserve this meaning. An absent branch or a failing solution-node guard in such a tree shall denote infeasibility in the corresponding subset of those assignments.

    • PPL-HLR-000005
      5. Linear optimization with integrality and parameters PPL-HLR-000005

      PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000202
    2. C object ownership and borrowed access PPL-LLR-000202

    The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • PPL-LLR-000203
    3. C boundary error reporting PPL-LLR-000203

    The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 2. Mathematical consistency of corresponding binding operations PPL-LLR-000214

    For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

PPL-SPEC-001551
8. C artificial-parameter sequence traversal PPL-SPEC-001551

Allocated artificial-parameter iterators shall own only their iterator storage. Node begin/end shall position them in that node's local ordered sequence; equality, increment and dereference shall use valid positions in the same live sequence. Dereference shall return a borrowed artificial parameter tied to the owning problem/tree. Copying positions shall not copy parameters or extend tree lifetime; deleting positions shall not delete tree contents. Count shall report the local sequence length.

The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.