Search heuristic for finding cheapest firing sequences in petri nets with variable token flow

The extended marking equation and heuristic functions provide an informed search solution for Petri nets with variable arc semantics, addressing the intractability of current algorithms and enhancing search efficiency in solving shortest path problems.

WO2026244079A1PCT designated stage Publication Date: 2026-11-26CELONIS SE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2026/065079
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-23
Filing Date
2026-05-22
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Current search algorithms for Petri nets with variable arc semantics, including Object-Centric Petri nets, are intractable due to the state explosion problem, and no informed search heuristic exists to efficiently solve the shortest path problem on their state space.

Method used

An extended marking equation and corresponding heuristic functions are proposed to support informed search algorithms on Petri nets with variable arc semantics, including Object-Centric Petri nets, by formulating nonlinear and linear optimization problems to estimate the remaining distance to a target state.

Benefits of technology

The proposed heuristic significantly outperforms uninformed algorithms, demonstrating improved search performance and efficiency in solving the shortest path problem on Petri nets with variable arc semantics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2026065079_26112026_PF_FP_ABST
    Figure EP2026065079_26112026_PF_FP_ABST
Patent Text Reader

Abstract

A computer-implemented method of determining an under-estimate of costs of a cheapest firing sequence between two markings m, m1ϵΒ(P) of a Variable Arc-net, VAR-net, Λ, the firing sequence being defined as a se- quence of transition firings that is valid in the VAR-net, Λ, the VAR-net, Λ, being defined as a tuple Λ= (P, T, F, ω) with P being a set of places, p, T being a set of transitions, t, such that T ∩ P = Ø and F being a set of arcs, F ⊆ (P ×T) ∪ (T ×P), ω being an arc weight function, (I) such that (II) and (III) F r ⊆ F denoting a set of regular arcs |ω (x,y)|=1 for (x,y)∈F r , F v ⊆ F denoting a set of variable arcs, |ω (x,y)|>1 for (x,y)∈F v the under-estimate of costs being determined by solving an optimization problem.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Search heuristic for Ending cheapest firing sequences in Petri nets with variable token flow

[0002] Field of the invention

[0003] The present invention retates generally to process modelling, and more specifically to search algorithms applied to Variable Arc nets and in particular to object-centic Petri nets (OCPNs).

[0004] Background

[0005] In practice, various high-level process modeling notations are used to model processes, e.g., Business Process Model and Notation (BPMN) [7]. The majority of such modeling notations can be converted to Petri nets

[0018] , e.g., as presented in [8]. As such, many techniques proposed in the field of business process management

[0011] , as well as process mining [1] (i.e., heavily utilizing process models in combination with event data), are (implicitly) based on Petri nets.

[0006] In several practical application scenarios, a shortest path problem is solved on the state space of a Petri net. An example use case is the calculation of alignments [2], widely used in the field of conformance checking [6], to assess how process executions deviate from given process models. Informed search algorithms, e.g., the A*

[0014] algorithm, are often used to solve such problems. Opposed to uninformed search algorithms, e.g., Dijkstra’s algorithm [9], informed search algorithms exploit a heuristic function that estimates, from any given state, the remaining distance to any feasible target state. The use of a heuristic function generally enables better search performance. For Petri nets, the marking equation (e.g., see

[0018] ) is often used as a basis for such search heuristics

[0022] ,

[0007] In the context of business process management, alignments [2] serve as a prominent example artifact that require solving a shortest path problem on the state space ofa Petri net, typically suffering from the state explosion problem. Various variations on informed search methods (as well as their heuristic used) have been proposed to solve the alignment problem, e.g., [22,10]. In this context, more recently, alignment computation was proposed for object-centric nets

[0017] . However, the proposed approach employs an uninformed search strategy, which, is shown to be intractable. The vast majority of work in the realm of object-centric process mining focuses on analysis techniques of the correspondingly defined event data [4,12,19]

[0008] Recently, Object- Centric Petri Nets (OCPNs) were introduced [3], which extend regular Petri nets to more accurately capture the joint control flow of different business objects in the process. For example, a typical sales process consists of different business objects like Sales Orders, Sales Order Items, and Sales Quotations. OCPNs allow for modeling the control flow of each object and its interactions and synchronizations. In particular, OCPNs allow for expressing a novel type of arc, i.e., a variable arc, which allows for the consumption and production of an arbitrary amount of tokens.

[0009] Variable arcs introduce an additional factorial component to the general size of their state space. Hence, using uninformed search algorithms to solve the shortest path problem quickly becomes intractable.

[0010] Currently, no search heuristic exists for Petri nets with variable arc semantics, including Object-Centric Petri nets, that allows to adopt informed search algorithms. Therefore it is an object of the present invention to provide a heuristic for Petri nets with variable arc semantics, including Object-Centric Petri nets that can be used in shortest path searches on the correpsonding state space of the Petri net with variable arc semantics, including Object-Centric Petri net.

[0011] This object is solved with the methods saccording to the independent claims. Advantageous embodiments of the invention are defined in the dependent claims.

[0012] Thus, according to the invention, the marking equation is extended to support

[0013] Petri nets with variable arc semantics, including OCPNs, and corresponding genericheuristic functions are proposed that can be used in informed search algorithms on the net’s state space.

[0014] The inventive method has been evaluated based on different OCPNs of varying complexity, and the results show that an informed search strategy significantly outperforms uninformed algorithms when solving the shortest path problem on the state space of OCPNs. Furthermore, the experiments show that linear heuristic according to the invention outperforms the nonlinear heuristic when using a dedicated linear solver.

[0015] Brief description of the drawings

[0016] The invention and embodiments thereof will be described in detail with reference to the drawings. In the drawings

[0017] Fig. 1 depicts a Petri net modeling a simplified Sales Quotation business process;

[0018] Fig. 2 depicts an example VAR- net based on the example Petri net in Fig. 1;

[0019] Fig. 3 shows various example weight and variability consistency patterns;

[0020] Fig. 4 shows an example OCPN ONx extending Ax (Fig. 2);

[0021] Fig. 5 illustrates an example VAR- net / 12;

[0022] Fig. 6 shows the runtime performance of the different optimization problems for the different behavioral classes defined;

[0023] Fig. 7 shows the average absolute error of the computed heuristic value, i.e., computed for the initial marking of a search problem, compared to the actual shortest path cost;

[0024] Fig. 8 illustrates the impact of using the proposed heuristic on state space search;

[0025] Fig. 9 illustrates a Petri net model describing the process of a simple illustrative example;

[0026] Fig. 10 illustrates a Petri net model describing the process in a complex example;

[0027] Fig. 11 illustrates a diagramm showcasing an execution of the process of the complex example;

[0028] Fig. 12 illustrates the Petri net modeling the the execution shown in Fig. 11; and

[0029] Fig. 13 illustrates the Synchronous Petri net of Fig. 10 and Fig. 12.

[0030] Detailed description of the invention

[0031] Preliminaries

[0032] Notation. Given a set X, P(X) = {XI\XIQX} denotes its power set. N={1,2,...} denotes the set of positive integers and N>o=NU{O}. Similarly, R denotes the set of real numbers and R>0={rGR|r>0}. A general familiarity with concepts such as Cartesian products, relations, and functions is assumed. A bag b generalizes the notion of a set and allows for membership cardinality, i.e., b: X— N> Q. A bag is written

[0033]

[0034] etc. If &(a?i)=0, X{ is omitted from the bag notation, if

[0035]

[0036] the superscript is omitted. The set of all bags on X is written as B(X). A sequence cr of length n over a set Al is a function: {1,...,n}— X, written as

[0037]

[0038] . The set of all finite sequences over set X is denoted X*. The length of a sequence is written as

[0039]

[0040] additionally, denotes the number of occurrences of x in a. The empty sequence is written as e. Vectors are assumed to be column vectors. 0 denotes the null vector,

[0041]

[0042] Given an nxm matrix A, e.g., AGRnxm, and Z, J'G{1,.. -,n, we write Aj to access the matrix cell value at row i, column j. A^* denotes the row vector at index i, similarly, A* denotes the column vector at index j. Finally, we assume the reader to have a basic understanding of (non)linear programming and optimization

[0013] .

[0043] Petri nets. A Petri net is a bipartite graph that allows for (compactly) modeling concurrent systems. In the remainder, without loss of generality, we exemplify the use of Petri nets for modeling (business) process control flow. For example, Fig. 1 depicts a Petri net modeling a simplified Sales Quotation business process.

[0044] The Petri net describes that first, the Create Sales Quotation ( CSQ) and the Approve Sales Quotation Item (ASQI) activities should be executed (in arbitrary order). Finally, the Create Sales Order (CSO) activity is executed. A Petri net consists of a set of places (visualized as circles) and a set of transitions (visualized as rectangles). Places allow for describing the state of the system modeled by the net; transitions manipulate the state of the net. Transitions may have an associated label, modeling the activity that the transition represents, e.g., in TVi in Fig. 1, transition t2has label “CSQ”, and transition t has no label.

[0045] We use transition labels in our examples; however, we omit the labeling function from our definitions since our work is independent of transition labels.

[0046] The arcs in the Petri have a weight value (a member of N). In the example net TVi in Fig. 1, all arc weights are 1; therefore, the weight values are omitted. We formally define a Petri net as follows.

[0047] Definition 1 (Petri net). Let P be a set of places, let T be a set of transitions with TC\P=, let FQ(PxT')\j(TxP) be a set of arcs, and let w (FxF)U(FxF)— N>o be an arc weight function with w(x, y)> Q^(x, y)EF and w(x, y)=PEflx, y)^F. Tuple N=(P, T, F,w) is a Petri net.

[0048] Let N=(P, T, F,w) be a Petri net. Given XEPCT, we let •NX={yEPCT\(y,x')EF}, and x»N={y P\JT\(x, y)EF (we omit N if it is clear from the context). We let Fc=((FxF)U(FxF))\F. Note that the arc weight function is defined on FUFC,

[0049]

[0050] of N is a bag of its places; tuple (TV, m) is a marked net. A transition tET is enabled in a marking m, written (TV, m)[t), if (m(p)>w(p, t)). Given some

[0051] marking mG£>(F), an enabled transition t can fire, yielding a marking m! EBfiP) with m / (p)=m(p) — w(p, t)+w(t,p), pEP. We write the firing of a transition as

[0052]

[0053] m'fi Similarly, for ET*, we write

[0054]

[0055] We let

[0056]

[0057] denote the language of (N,m) w.r.t.

[0058]

[0059] denotes the set of reachable markings from marking m.

[0060] The Marking Equation. We assume that the places and transitions of a net are indexed families with bijective indexing functions of the form f: {1,...,n}— F and

[0061] f: {1,..., n}— T. Correspondingly, matrices and vectors defined over places or transitions comply with the indexing sets. Given some arbitrary matrix A with dimension

[0062] | P\ x \T\, we write AP)tinstead of A -i(p),y'-i(t). Similarly, ltdenotes a unit vector

[0063] with value 1 at index / -1(t). Given a Petri net N= P, T, F,w), we let

[0064]

[0065] be its consumption matrix, with C~t=w(p,t). Similarly, we define the production

[0066] The incidence matrix C of net N is defined

[0067] |T~T|

[0068]

[0069] , ' E (P) and vector TGNQ, the net’s marking

[0070] equation is a set of linear equations of the form m'=m+C-x. The Parikh vector cr of

[0071] a firing sequence

[0072]

[0073] m!) is a solution to the marking equation (i.e., x=(f).

[0074] Finally, observe that the marking equation can be written as:

[0075]

[0076] The marking equation has powerful practical applications. For example, consider

[0077] solving a shortest path problem for a Petri net N=(P, T, F, w) and markings

[0078]

[0079]

[0080] solution to the shortest path problem can be found by applying a search algorithm,

[0081] e.g., Dijkstra [9], on the state space graph of the marked net (A, m (using m as a

[0082] goal state and c as a cost function). A large class of search algorithms, i.e., informed

[0083] search algorithms, use additional domain-specific knowledge to speed up the search procedure (e.g., the A* search algorithm

[0014] belongs to the class of informed searchalgorithms). Such algorithms utilize a heuristic function h, which, in the context of the state space search problem, for any arbitrary marking mE'RfN, mf), estimates the remaining distance to my. A heuristic must be admissible, i.e., it always underestimates the remaining distance. Ideally, it is also consistent, i.e., the estimate is always less than or equal to the estimated distance from any neighboring marking to the final marking, plus the cost of reaching that same neighboring marking. The marking equation allows us to define an admissible and consistent heuristic; i.e., we formulate a linear program based on the marking equation as follows.

[0084] Definition 2 (Marking Equation LP). Let N=(P, T, F,w) be a Petri net, let mm' P) be two markings of N, and let c: T— dR>0. The marking equationbased linear programming problem is defined as follows.

[0085]

[0086] When adopting the linear program in Definition 2 in the A* algorithm, it is solved using my as the target marking, yet with varying source marking, i.e., the currently visited marking in the search. The linear program is an admissible heuristic: a firing sequence is a solution, yet a cheaper solution may also exist. Consistency also holds since, if we can reach a marking m' from marking m, the solution for m' where we increase the ay-value by one (for any transition (TV, m)- -( V, m')) is a solution for m. Observe that the goal function

[0087]

[0088] c(t)xtminimizes the cost of a firing sequence, ten

[0089] based on individual costs assigned to transitions. The constraint body can be combined with an arbitrary goal function g. Hence, in the remainder, we abstract from the exact implementation of the goal function.

[0090] Net Classes with Variable Token-Flow Semantics

[0091] In various application scenarios, the tokens used in the execution semantics of a Petri net may refer to real- world phenomena, e.g., Sales Orders and Sales Order Items. The total amount of such phenomena manipulated or influenced by firing a transition may vary. For example, a sales order may typically consist of an arbitrary number of sales order items. To model such variability, we define the notion of a Variable ARc net (VAR- net, presented in the next section, in which we extend the notion of a conventional weighted labeled Petri net by specifying an additional type of arc, i.e., a variable arc. Such a variable arc allows for the consumption or production of an arbitrary number of tokens. Thereafter, we present Object- Centric Petri nets (OCPNs), i.e., a trivial extension of VAR-nets that additionally assign object types to the places in the net.

[0092] Variable Arc Nets

[0093] A Variable Arc net (VAR-net) generalizes the notion of a conventional weighted labeled Petri net by letting the weight function map an arc to a set of non-negative weight values rather than a single weight value. An arc with a singleton weight set (excluding the singleton {0}) is a regular arc. Any other arc in the net, i.e., an arc (x, y) with more than one weight value, is referred to as a variable arc and allows a variable amount of tokens to be consumed or produced upon firing a connecting transition. We visualize regular arcs with a solid line and variable arcs using a dashed line with the set of weight values specified on top. Consider Fig. 2, in which an example VAR-net is depicted, based on the example Petri net in Fig. 1.

[0094] Since multiple quotation items belong to only one sales order, a variable arc connects from and to transition t5, modeling the CSO activity and its variability in terms of token consumption. In the example, the weight functions for the variable arcs both describe the set of numbers characterized by the interval [1, oo). We formally define VAR-nets as follows.

[0095] Definition 3 (Variable Arc net (VAR-net)). Let P be a set of places, let T be a set of transitions, s.t., Tr\P= and let C(FxT)U(TxF) be a corresponding set of arcs. Further, let v (FXT)U(TX

[0096]

[0097] be an arc weight function, s.t.

[0098]

[0099] Variable Arc net (VAR-net).

[0100] In the remainder, we let FrF denote the set of regular arcs

[0101]

[0102] = l for (x, y'EFf), and we let FVF denote the set of variable arcs

[0103]

[0104] >1 for (x, y)EFv) Additionally, given ZEPAT, we let

[0105]

[0106] y)EF\zE{x, y}}. The sets Fr\zand Fv\zare defined similarly. Additionally, for tET, we let f2(t)=

[0107]

[0108] . A transi-tion for which all connected regular arcs describe the same singleton weight set is a weight- consistent transition. A VAR-net is weight- consistent if all its transitions are weight-consistent If a transition in a VAR-net only connects to regular or variable arcs (i.e., no mixtures of arc types), the transition is variability- consistent. A VAR-net is variability- consistent if all its transitions are variability-consistent. Consider Fig. 3, in which various example weight and variability consistency patterns are shown. In [3], the variability consistency property is referred to well-formedness.

[0109] The example VAR-net Ai in Fig. 2 is both weight and variability consistent. Also, the often used Petri net class of P / T-nets

[0021] , i.e., regular Petri nets in which all arc weights are equal to 1, is, by definition, weight-consistent. In a weight and variability-consistent net, a transition connects exclusively to regular or variable arcs. As such, the transitions themselves are either regular or variable transitions. We refer to the set of regular / variable transitions using TrT, and TVT, respectively. If a variability-consistent VAR-net is also weight-consistent, observe that C(t) is either the empty set (in case F|f=0), or, it is a singleton set, only containing the single weight value associated to all regular arcs connected to the transition.

[0110] Below, two semantics for VAR- nets are presented, i.e., regular and synchronizing semantics, the latter of which is a strict subset of the former.

[0111] Regular Semantics. Under regular semantics, we apply the same principles as the semantics of regular weighted Petri nets. However, given a marking mgB(P), and an arc (p, t)EF, any number of & Gc (p, f) tokens can be consumed, as long as

[0112]

[0113] Similarly, we produce, for an arc (t,pz) any number kEoj^p',t) tokens in p'. Since regular arcs describe a singleton weight set, token consumption / production is always the same value for these arcs. For example, reconsider the example VAR-net in Fig. 2, and assume to have marking [p ], After firing transition t, infinitely many markings can be reached. However, any of such markings either has either 2, 1, or 0 tokens in place p6.

[0114] Synchronizing Semantics. In synchronizing semantics, the regular semantics can be extended by requiring that, upon firing a transition, the number of tokens consumed and produced per connecting arc is equal. For example, in the marking [p ] in the VAR-net of Fig. 2, using the regular VAR-net semantics, we obtain the following firings of t5

[0115]

[0116] With synchronizing semantics, for the same marking, i.e., [pg], we only obtain three possible transition firings oft5, i.e., (A

[0117]

[0118]

[0119] As such, the synchronizing semantic reduces the overall size of the VAR-net’s state space. Observe that any weight-inconsistent transition is, by definition, dead under synchronizing semantics. Similarly, the variable arcs of a variability-inconsistent transition act as regular arcs under synchronizing semantics (given that the transition is weight-consistent). Therefore, in the remainder of the paper, when synchronizing semantics are considered, we assume the VAR-net to be both weight and variability-consistent.

[0120] Regardless of the semantic adopted, the notation defined for regular Petri nets is also applicable to VAR-nets, e.g.,

[0121]

[0122] etc.

[0123] Token Identities. In some cases, we additionally assign an explicit identity to each token in the marking of a net. We let T denote the universe of identities. Given a VAR- net A=(P, T, F, C ), we define the notion of an identity- aware marking η∈퓑(P×퓘), where?y(p, z) denotes the number of tokens of identitifier i residing in place p. Under regular semantics, we can consume and produce any (number of) token(s) with any identity. However, for synchronizing semantics, we assume that the number of identities consumed / produced is the same for each place connected to a transition. For example, in the example VAR- net in Fig. 2, assume we have marking [(p6, 1)2, (p6, 2)]. We can fire t5using the token consumptions [(p6, l)], [(p6, l)2],

[0124]

[0125] (P6, 2)], and [(p6, 2)]. The corresponding token productions are [(p7, 1)], [(p7, l)2], [(p7, 1), (p7, 2)], [(p7, 1)2, (p7, 2)], and [(p7,2)].

[0126] Object-Centric Petri Nets

[0127] From a structural perspective, OCPNs additionally assign an object-type to each place in a VAR-net, i.e., specifying for which object type, e.g., Sales Order, the place is relevant. For example, consider Fig. 4, which shows example OCPN ON1extending Λ1(Fig. 2).

[0128] The model describes three object types: the Sales Quotation object (based on N1, blue color), the Sales Order Item object (violet, filled with a grid pattern), and the Sales Order Item object (red, filled with horizontal lines). Variable arcs are depicted as dashed arcs. Identities of tokens are not visualized. All variable arcs are assumed to use the weight set [l,oo) (omitted from the OCPN visualization). Observe that transition t5is allowed to consume an arbitrary number of tokens from places p, (Sales Quotation object) and place

[0129]

[0130] (Sales Order item object). This indicates that for one Sales Order object instance involved in the Create Sales Order (CSO) activity (modeled by transition t ), multiple Sales Quotation and Sales Oder Item object instances may be required. We formally define the notion of OCPNs as follows.

[0131] Definition 4 (Object-Centric Petri Net (OCPN)). Let P be a set of places, let T be a set of transitions, s.t., TEP= and let F PxTfj(TxP') be a corresponding set of arcs. Let ω: (P×T)∪(T×P)→

[0132]

[0133] be an arc weight function, s.t. (x,y)∈F⟺0∉ω(x,y) and (x,y)∉F⟺ω(x,y)={0}. Let OT denote the universe of object types, and let φ: P→풪풯 map places to object types. Tuple ON=(P, T, F, ω, φ) is an Object-Centric Petri Net (OCPN).

[0134] Let ON= P, T, F, v,( / )) be an OCPN. Given a transition tET and some otEOT we let •ott={p∈•t|φ(p)=ot}, t•ot={p∈t•|φ(p)=ot}, and Φ(t)={φ(p)|p∈•t∪t•}. Additionally, we extend O to 42 (t, of)= Q UJ(X, y). Observe that, for a transition

[0135] (x,y)eF\tnF\ot

[0136] t∈T, weight and variability-consistency can be defined per object type ot∈Φ(t). The transition is weight / variability-consistent if it is weight / variable consistent for every of its associated object types. Similarly, the OCPN is weight / variability-consistent if all of its transitions are weight / variability-consistent.

[0137] Semantics. The regular and synchronizing semantics defined for VAR-nets outlined above are directly applicable to OCPNs. However, OCPNs are typically considered with a per-object synchronizing semantics, i.e., we apply the synchronizing semantics on a per-object basis. For example, in ON1in Fig. 4, the number of tokens produced and consumed over the arcs {(p8,t5),(t5,p9)}, {(pe,t5), (t5,p7)}, and {(p11,t5),(t5,p13)} only need to be equal on a per-object basis. For example, in the marking [p63, p8, p112], under synchronizing semantics, we can fire transition t5with (ONi, [p6, P8, Pii])“^(OAt1, [pg, p7, p8, Pi5])- Observe that, indeed, in the previous example, the synchronizing semantics are applied on a per-object basis.

[0138] Behavioral Classes

[0139] Observe that OCPNs are an extension of VAR-nets, i.e., therefore, in the remainder, we regard OCPNs as Object-Aware VAR-nets. We correspondingly identify the following three dimensions that define the behavioral class of a VAR-net: Semantics (regular / synchronizing), Token types (regular / identity), and Object-awarenessTable 1: Overview and encoding of the behavioral classes identified for VAR- nets.

[0140]

[0141]

[0142] (yes / no). As such, we identify a total of 8 different behavioral classes that can be derived for VAR- nets. Consider Table 1, in which we show a schematic overview and codify the different classes identified.

[0143] Defining the Marking Equation

[0144] This section presents a set of nonlinear equations for net classes with variable tokenflow semantics. The set of equations has the same property as the marking equation for regular weighted Petri nets: a firing sequence forms a solution to the set of nonlinear equations. The result covers the most basic behavioral class (VAR|RS|RT cf. Table 1). Nonetheless, the result presented in this section directly applies to all eight behavioral classes identified above.

[0145] The incidence matrix for regular weighted Petri nets (C) comprises two sub-matrices, C+and C“, representing token production and consumption respectively. The individual entries of these matrices are based on the corresponding arc weights. For a VAR- net, we correspondingly define variable production and consumption matrices (dimensionality \P\ x \T ), i.e., V+and V-. To this end, let vx,y∈ℝ≥0for (x,y)∈(P×T)∪(T×P) denote arc-based real-valued variables, we let V“f=uPjf, and we let

[0146]

[0147] In line with the definition of the regular incidence matrix, the variable incidence matrix V is characterized as V=V+— V-.

[0148] Theorem 1 (Marking Equation for VAR-Nets). Let Λ=(P, T, F, ω) be a VAR-net with corresponding variable incidence matrix V, and let m,m'∈ℬ(P) be two markings of Λ.

[0149]

[0150] be a vector of transition variables,

[0151]

[0152] be vector

[0153] representations of markings m,m'∈ℬ(P). If m'∈ℛ(Λ,m), a solution exists to

[0154]

[0155] Case III: σ=⟨t1,t2,...,tn⟩. We observe that we can iteratively apply Case II and

[0156]

[0157] defined in Case II. However, Vip,tmay be unequal to Vjp,tfor some p∈P, t∈T, and

[0158]

[0159] Observe that the variable assignments in the entries of the V matrix generally correspond to the average token-flow over the arcs that the entry represents. For example, consider the VAR-net Λ2in Fig. 5, and firing sequence:

[0160]

[0161] Equations 2-4 show the stepwise assignments of the incidence matrix V (i.e., Case II of the proof of Theorem 1). Equation 5 shows the assignment of the marking equation for the firing sequence

[0162]

[0163] Case III of the proof of Theorem 1).

[0164]

[0165] It is important to note that we can cast any valid firing sequence in any other behavioral class to a solution to the VAR I RS I RT class. For example, a firing sequence for the behavioral class OC I SS I IT is a firing sequence for the most basic class upon ignoring object types and identities. Hence, a solution exists to the set of nonlinear equations presented above.

[0166] Deriving Heuristic Functions

[0167] In this section, we present derived heuristic functions for search problems defined foreach behavioural class, formulated as (non)linear optimization problems. The heuristics stem from the marking equation for VAR-nets as defined above. Foreach class we state a non linear optimization problem as well as its linearized version. Below, we first show derived heuristics for regular semantics, then we show that the equivalent classes under synchronizing semantics are a special case of the regular semantic.

[0168] Regular Semantics (RS)

[0169] In this section, we present derived optimization problems for regular semantics. We first show results for the basic behavioral class for regular VAR-nets (both for regular and identity tokens), after which we show results for OCPNs. Generally,

[0170] all extensions of the basic behavioral class apply variable splitting (e.g., splitting variables based on token identities and / or object types).

[0171] VAR-Nets. Similar to the marking equation for regular Petri nets, we define a corresponding optimization problem by adopting the constraint body described by the marking equation with a transition firing cost function. In line with the marking equation for regular weighted Petri nets, we distill the following body of constraints.

[0172]

[0173] Based on this, we define the corresponding optimization problem as follows.

[0174] Optimization Problem 1 (Marking Equation NLP - VAR|RS|RT)

[0175] Let Λ=(P, T, F,ω) be a VAR-net, let m,m'∈ℬ(P) be two markings of Λ, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0176]

[0177] ayGN>o, / tET

[0178] Observe that, in Optimization Problem 1, an arc variable that relates to a regular arc is set to be vy,z∈ω(y,z) In line with Theorem 1, variables related to arcs with a variable arc weight are assigned any value i.e., the average flow of tokens con-sumed / produced per transition firing is a positive real number. When assigning g as ∑t∈Tc(t)xt, for some given c: T→ℝ≥0, Theorem 1 guarantees that any solution to ten

[0179] Optimization Problem 1 is an admissible heuristic, i.e., the cheapest firing sequence is an upper bound for the solution found by solving Optimization Problem 1.

[0180] Linear Relaxation This section presents a general scheme to apply linear relaxation to the nonlinear optimization problems. The key observation to apply linear relaxation is based on the fact that in the nonlinear formulations, multiplications of the form vtpXtand vp^xtexist (in various extensions) which represent the total token flow for the arcs that the variables represent. Therefore, in the core constraint body of the linear relaxation, we obfuscate the explicit differentiation of transition firings and corresponding token consumption / production by replacing all occurrences of vt,pxtand vp,txt(or any extension thereof in other behavioral classes) by fresh variables ftpand fp trepresenting the total token flow over the corresponding arc. Observe that, for variable arcs, the lower bound of the flow is equal to the minimum corresponding arc weight value multiplied by the number of corresponding transition firings, e.g., min(ω(t,p))xt≤ft,p. The upper-bound, symmetrically, is equal to max(ω(t,p))xt, yielding min(ω(t,p))xt≤ft,p≤max(ω(t,p)). Based on this, we define the corresponding linear version of Optimization Problem 1 as follows.

[0181] Optimization Problem 2 (Marking Equation LP - VAR|RS|RT)

[0182] Let Λ=(P, T, F,ω) be a VAR-net, let m,m'∈ℬ(P) be two markings of Λ, and let g be a goal function. The corresponding Marking Equation based Linear Programming Problem is defined as follows.

[0183]

[0184] fy,z∈ℕ≥0, ∀(y,z)∈Fv; xt∈ℕ≥0, ∀t∈T

[0185] Identity- Aware Tokens (IT). We embed identity-awareness in the marking equation by splitting the average token- flow variable v on identities, i.e., obtaining vx,y,i. Hence, we obtain a matrix V of dimensionality | P\ x \TxT\, where, similar to the previously presented matrix,

[0186]

[0187] V-p,(t,i)=vt,p,i−vp,t,i. Here,

[0188]

[0189] is a variable repre-

[0190] senting the average number of tokens of identity i (vp,t,i∈ℝ+≥0HEIGHT="20" WIDTH="72" SRC="imgf000018_0001.tif" / > is defined similarly) It should be clear to the reader that, given two identity markings η, η'∈ℬ(P×ℐ) and a firing sequence ET*, if (Λ, η)→(Λ, η') a solution exists to optimization problem below exists. The proof follows the same structure as Theorem 1. A vectorized version of the optimization problem can be achieved by constructing a matrix for x with duplicated entries for each xtThe constraints for a corresponding optimization problem are formed based on the following equivalent formulation. The full corresponding (non)-linear programming formulations are included in Optimization Problem 3 and Optimization Problem 4 below.

[0191] Optimization Problem 3 (NLP Heuristic VAR|RS|IT)

[0192] Let Λ=(P, T, F,ω) be a VAR-net, let η,η'∈ℬ(P×ℐ) be two identity markings of Λ, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0193]

[0194] Optimization Problem 4 (LP Heuristic VAR|RS|IT)

[0195] Let Λ=(P, T, F,ω) be a VAR-net, let η, η'∈ℬ(P×ℐ) be two identity markings of Λ, and let g be a goal function. The corresponding Marking Equation based LinearProgramming Problem is defined as follows.

[0196]

[0197] Observe that, due to the splitting, all arc variables of the same regular arc need to sum up to the corresponding weight of the arc, i.e. the average moved tokens of all identities need to sum up to the weight of the arc. Further, observe that, arc variables are restricted to being positive for all arc types to avoid negative consumptions of identities.

[0198] Object-Centric Nets (OC). Under regular semantics, to embed objects, similarly to VAR-nets with identity tokens, we split the variables on a per-object-type basis. Similarly, we obtain a matrix V of dimensionality \P\ x \TxOT\, where, similar to the previously presented matrix, Vp,(t,ot)=vt,p,ot−vp,t,ot. Here, vt,p,ot∈ℝ+≥0is a variable representing the average number of tokens of object type

[0199]

[0200] is defined similarly). The following equivalent formulation forms the core constraint body of the corresponding optimization problem.

[0201]

[0202] Observe that, again, when assigning

[0203]

[0204] with the average number of tokens of type (p) flowing over the arc (t,p) (and symmetrically doing this for variables cor-responding to arcs of the form (p, t)), based on a firing sequence, adheres to the constraint body described. Additionally, note that any variable of the form vt,p,ots.t. φ(p)≠ot is unconstrained (other than membership of ℝ+≥0). Hence, depending onthe objective function, variables of said form can equal 0, which reduces the problem to Optimization Problem 1. The full corresponding (non)-linear programming formulations are shown in Optimization Problem 5 and Optimization Problem 6 below.

[0205] Optimization Problem 5 (NLP Heuristic OC|RS|RT)

[0206] Let ON=(P, T, F, ω, φ) be an OCPN, let m,m'∈ℬ(P) be two markings of ON, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0207]

[0208] vy,z,ot∈ℝ≥0, ∀(y,z)∈Fv, ot∈풪풯; xt∈ℕ≥0, ∀t∈T

[0209] Optimization Problem 6 (LP Heuristic OC|RS|RT)

[0210] Let ON=(P, T, F, ω, φ) be an OCPN, let m,m'∈ℬ(P) be two markings of ON, and let g be a goal function. The corresponding Marking Equation based Linear Programming Problem is defined as follows.

[0211]

[0212] xt∈ℕ≥0, ∀t∈T

[0213] Identity-Aware Tokens (IT) Adoption of tokens with identities is achieved similarly to the adaptation of token identities for regular VAR-nets, i.e., by further splitting variables. Similarly, we obtain a matrix V of dimensionality \P\ x \TxOT xZ|, where, Vp,(t,ot,i)=vt,p,ot,i−vp,t,ot,iHere, vt,p,ot,i∈ℝ+≥0is a variable representing the averagenumber of tokens of identity

[0214]

[0215] is defined similarly). We correspondingly derive the following core constraint body.

[0216]

[0217] The full corresponding (non)-linear programming formulations are shown in Optimization Problem 7 and Optimization Problem 8 below.

[0218] Optimization Problem 7 (NLP Heuristic OC|RS|IT)

[0219] Let ON=(P, T, F, j,<j>) be an OCPN, let T], T]'E13(PxT) be two markings of ON, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0220]

[0221] Optimization Problem 8 (LP Heuristic OC|RS|IT)

[0222] Let ON=(P, T, F, j,(f) be an OCPN, let T], T]'E13(PxT) be two markings of ON, and let g be a goal function. The corresponding Marking Equation based Linear Programming Problem is defined as follows.

[0223]

[0224] Adopting Synchronizing Semantics (SS)

[0225] Observe that the results presented in the previous section directly apply to synchronizing semantics, i.e., since the regular semantics are a strict superset of synchronizing semantics. However, any solution to any of the four optimization problems identified in the previous section does not enforce the synchronizing semantics. Enforcing synchronizing semantics on the optimization problems is expected to bring the solutions closer to realizable firing sequences.

[0226] As an example, reconsider Optimization Problem 1. To embed synchronizing semantics in Optimization Problem 1, we additionally enrich the optimization problem with the following four constraints:

[0227]

[0228] (iii)

[0229]

[0230] Hence, all variables related to arcs connecting to t are equal. As a consequence, it suffices to use a single variable per transition to represent the corresponding arc- flow, rather than a variable per arc.

[0231] We can thus (trivially) simplify Optimization Problem 1 and its corresponding linear version as follows.

[0232] Optimization Problem 9 (Marking Equation NLP - VAR|SS|RT)

[0233] Let A=(P, T, F,uS) be a weight and variability-consistent VAR-net, let m,m! G£>(F) be two markings of A, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0234]

[0235] apGN>o, / tGT

[0236] Optimization Problem 10 (Marking Equation LP - VAR|SS|RT)

[0237] Let A=(P, T, F,uS) be a weight and variability-consistent VAR-net, let m,m' G£>(F) be two markings of A, and let g be a goal function. The corresponding Marking

[0238] Equation based Linear Programming Problem is defined as follows.

[0239]

[0240] a^t€N>o, tET

[0241] Observe that, the possible synchronized weight of all arcs for transition calculated by 12 (t) i.e. the intersection of all admissible weights for each arc connect to a transition. This includes variable arcs as for any variable arc

[0242]

[0243] = N>o holds.

[0244] Adopting synchronizing semantics for identiy-aware tokens can be achieved by the same simplification, i.e., a variable of the form

[0245]

[0246] is replaced by a variable of the form vtp, and, similarly vPtiis replaced by a variable of the form vti. The full corresponding (non)-linear programming formulations are defined in Optimization Problem 11 and Optimization Problem 12 below.

[0247] Optimization Problem 11 (Marking Equation NLP - VAR|SS|IT)

[0248] Let A=(P, T, F, a?) be a weight and variability-consistent VAR-net, let r], r EFfiPxZ) be two identity markings of A, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0249]

[0250] Optimization Problem 12 (Marking Equation LP - VAR|SS|IT)

[0251] Let A=(P, T, F, a?) be a weight and variability-consistent VAR-net, let r], r EFfiPxZ) be two identity markings of A, and let g be a goal function. The corresponding Mark-ing Equation based Linear Programming Problem is defined as follows.

[0252]

[0253] The same holds for the regular and identity token version of the OCPNs every variable that relates to an arc can be replaced by a variable that represents the connected transition (both for regular and identity-aware tokens). Resulting in the corresponding (non)-linear programming formulations OC / SS / RT and OC / SS / IT as defined below.

[0254] Optimization Problem 13 (Marking Equation NLP - OC|SS|RT)

[0255] Let ON=(P, T, F, J, < ) be a weight and variability-consistent OCPN, let m, m' EB(P) be two markings of ON, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0256]

[0257] ayGN> Q, / tEt

[0258] Optimization Problem 14 (Marking Equation LP - OC|SS|RT)

[0259] Let ON=(P, T, F, J, < ) be a weight and variability-consistent OCPN, let m, m' EB(P) be two markings of ON, and let g be a goal function. The corresponding MarkingEquation based Linear Programming Problem is defined as follows.

[0260]

[0261] a^t€N>o, tET

[0262] Optimization Problem 15 (Marking Equation NLP - OC|SS|IT)

[0263] Let ON=(P, T, F, J, <fi) be a weight and variability-consistent OCPN, let g, g'EBfiPxT) be two identity markings of ON, and let g be a goal function. The corresponding Marking Equation based Nonlinear Programming Problem is defined as follows.

[0264]

[0265] Optimization Problem 16 (LP Heuristic OC|SS|IT) Let

[0266] ON=(P, T, F, OJ, fi) be an OCPN, let g, g'El3(Px ) be two markings of ON, and let g be a goal function. The corresponding Marking Equation based Linear Programming Problem is defined as follows.

[0267]

[0268] Evaluation

[0269] This section presents our evaluation. First, the experimental setup is presented. Then, present the results are presented, and threats to validity are discussed.

[0270] Experimental Setup

[0271] Implementation. We have implemented all proposed optimization problems in the dynamic optimization suite GEKKO (https: / / gekko.readthedocs.io) with the integrated APOPT (https: / / apopt.com / ) solver. Additionally, for the linear relaxations, we use Google OR tools (https: / / developers.google.com / optimization) with the integrated SAT solver and GLOP (Google Linear Optimization Package).

[0272] Data Generation. Since few publicly available VAR-nets / OCPNs exist, we generated several models. We used 3 object-centric event logs, i.e., P2P

[0020] , Container Logistics

[0016] , and Order Management

[0015] . The event logs were filtered only to contain events related to three randomly selected object types. Per log, we generated 10 samples by randomly sampling 150 events. We subsequently discovered an object-centric Petri net for each sample. Both the discovery and the filtering were performed in pm4py [5] (discovery used the algorithm described in [3]). It is important to note that the discovery algorithm assumes the OC I SS I IT behavioral class for the returned models. Each object type has a unique initial and final place in the models discovered. We varied the number of identifiers per object type in the initial places. The final marking is based on all generated identifiers being part of the final places. Current discovery approaches cannot also discover variable arc weights (i.e., they only discover the range [1, oo)). Therefore, we assume a lower bound of 1 and an upper bound equal to the number of identifiers / tokens present in the initial marking of that object type.

[0273] Experiments. We solve a shortest path search for each model generated, from the net’s initial to the final marking. The search is based on the DC I SS I IT behavioral class, i.e., to preserve consistency with the discovered models. We consider differentbehavioral classes to build the search heuristics, i.e., the classes that yield an admissible heuristic for the OC I SS I IT behavioral class: OC I * I * and VAR I RS I *. Note that the behavioral classes VAR I SS I * do not yield an admissible heuristic for searches on the OC I SS I IT behavioral class, since per-object synchronization is converted to a global synchronization, which is not compatible in all cases. We only consider one cost function: labeled transitions have cost 1; invisible transitions have cost 0. Based on the initial marking, we limit the universe of identities per object type (when token identities are used).

[0274] We conducted two main experiments: (i) assessing the heuristic by itself and (ii) as part of the A* search algorithm compared to Dijkstra. In the first experiment, we solved all optimization problems presented in the nonlinear and linear form. We use the following problem / solver combinations: (i) Nonlinear APOPT (N-APOPT): The nonlinear version of the problem using the APOPT solver; all variables were allowed to be real- valued numbers, (ii) Linear APOPT (L- APOPT): The linear relaxation of the problem using the APOPT solver; all variables were allowed to be real-valued numbers, (iii) Linear SAT (L-SAT): The linear relaxation of the problem using the SAT solver with all variables restricted to integers to take advantage of the MIP solving properties, (iv) Linear GLOP (L-GLOP): The linear relaxation of the problem using the GLOP solver; all variables were allowed to be real- valued numbers. In the second experiment, we assess the performance of using the linear relaxations as a heuristic in an A* search and compare it to the search performance with a Dijkstra-based search. We use a timeout of 100 seconds for each search.

[0275] Results

[0276] In this section, we present the results of our experiments. We first focus on computing a single heuristic value. Secondly, we investigate the impact of using our proposed heuristics on general search efficiency.

[0277] Heuristic Calcualation.

[0278] Runtime Performance. Consider Fig. 6, which shows the runtime performance of the different optimization problems for the different behavioral classes defined.

[0279] We observe that generally, the biggest differentiator in terms of performance is the solver used, where GLOP < SAT < APOPT. This observation is unsurprising as APOPT is an NLP solver, SAT an MIP solver, and GLOP an LP solver. Hence, linear relaxation allows us to exploit the fact that we can use specialized solvers that solve linear problems. There is no significant difference between the behavioral classes regarding time performance. However, the problems that use more variables (e.g., VAR I RS I IT) show slightly slower runtimes.

[0280] Quality. Fig. 7 shows the average absolute error of the computed heuristic value, i.e., computed for the initial marking of a search problem, compared to the actual shortest path cost.

[0281] Again, note that the heuristic value is based on different behavioral classes; the actual shortest path value is always based on the OC I SS I IT class. The SAT solver has the lowest absolute error. This is expected since SAT forces the variables to be integers, the heuristic value computed is closer to realizable firing sequences, i.e., potentially directly corresponding to a Parikh vector of a firing sequence. The nonlinear optimization problems have the highest average absolute error caused by the solver yielding a local optimum (sometimes even overestimating the shortest path). No significant difference in accuracy is observable for the L-SAT versions of the other optimization problems.

[0282] Search Efficiency. Consider Fig. 8, which illustrates the impact of using the proposed heuristic on state space search.

[0283] We observe that Dijkstra scales significantly worse with more object instances in the model as the state space grows combinatorially. For general chart interpretability, we additionally leave out the results for VAR I RS I IT and OClRS lRT, as, in the previousexperiments, these classes are slowest, or worst performing in terms of accuracy. Using A* with any of the proposed underestimating heuristics leads to consistently fast searches. This is also observable in the number of timeouts triggered after 100 seconds. Having just two instances of each object type causes Dijkstra to time out in 96.7% of all cases. Interestingly, using the faster L-GLOP leads to a slower search, as the poorer accuracy leads to more states being explored. The differences between different optimization problems are close. 001 SS I RT has a slight advantage due to being sufficiently accurate and faster to compute than 0C I SS I IT.

[0284] Threats to Validity

[0285] In this section, we discuss general threats to the validity of our evaluation. Since few VAR-nets / OCPNs are available, we resort to generating the models used in our experiments. Whereas we use different filtering thresholds to generate the OPCNs, the models are expected to be similar per event log. As such, our results may be biased toward the models used. However, we expect to observe similar trends when extending the number of models used. Similarly, different solvers for optimization problems show differences in performance. Hence, using a different solver can speed up the computation of the heuristic; however, again, we expect the effect to be similar for all optimization problems defined in our work, i.e., the general trends remain the same. Finally, note that, as indicated, the APOPT solver sporadically does not yield a solution or yields an overestimate of the true optimal solution. Hence, we suggest resorting to linear optimization problems with a corresponding linear solver.

[0286] Examples

[0287] For further illustrating the invention, two examples are presented.

[0288] Simple Example. Assume a company that sells items wants to take a look at their order fulfillment process. The current Process can be defined as follows:

[0289] Items are picked on by one from the shelves by a worker. Multiple of these items are then packed into a package. This can be repeated multiple times for a single package. Lastly, the packages are delivered to the customers, either via the company’s own delivery trucks or via a 3rd party logistics company. This process can be modeled by the corresponding object-centric Petri net shown in Fig. 9.

[0290] The Petri net can be interpreted as follows. The process described has two objects, items and packages. These objects are moved between places(circles) along edges when transitions(squares) are fired. Items start in the place p-il and finish in the place p-i3, while packages start in the place p-pl and finish in the place p-p3. Assume there are 2 items i1, i2) and 1 package (p1). The corresponding initial marking consists then of 1 token with ID i1 in p-i1, 1 token with ID i2 in p-i1, and 1 token with ID p1 in p-p1. A successful execution of the process is then indicated by the final marking consisting then of 1 token with ID i1 in p-i3, 1 token with ID i2 in p-i3, and 1 token with ID p1 in p-p3.

[0291] Given the described initial marking Petri net rules then only allow for the firing of the “Pick Item” transition, as all other transitions don’t have objects in all their incoming places. After we have executed “Pick Item”, we are left with the choice to either pick the second item or package the first one. If we choose to pick the second item we are then able to choose if we use “Pack Items” on both of the items or just on of them, as the place p-i2 that contains the items is connected via a variable arc. In case we chose to just pack one of the items we need to execute the black skip transition and do the “Pack Items” activity again, as the final place can otherwise not be reached by the previously not chosen item. Lastly we are left with the choice to either do the “Delivery” or “Outsource Delivery” activity to reach the final place for the package. In reality, executing a certain activity can have different costs for a company. These could be of monetary nature, carbon footprints or other quantifiable values. For this example we assume the costs displayed next to each transition in Fig. 9.

[0292] In the remainder of this section we will give an example how the claimed procedure can be used to construct the cheapest possible execution of the process as defined by the Petri net under the given costs.

[0293] Using LP - OC|SS|IT Given the definition of the optimization problem in Optimization Problem 16 and the Petri net shown in Fig. 9. The following variables are defined for the transitions:

[0294] xt _PickItem^^>0

[0295] xt_PackItems∈ℕ≥0

[0296] xt_Deliver∈ℕ≥0

[0297]

[0298] xt_tau1∈ℕ≥0

[0299] Observe, that there is one variable per transition that models how often the transition is fired. Additionally the following flow variables are created:

[0300] ft_PickItem,Item,i1∈ℕ≥0

[0301] ft_PackItems,Item,i1∈ℕ≥0

[0302]

[0303] ft_OutsourceDelivery,Item,i1∈ℕ≥0

[0304] ft_tau1,Item,i1∈ℕ≥0

[0305] ft_PickItem,Item,i2∈ℕ≥0

[0306]

[0307]

[0308] A flow variable stores the total amount of tokens of this identity that are moved via a transition. Observe that a flow variable is created for each combination of transition, object type and identity of that object type. Some of these variables are not needed, as the transition has no arc to a place of the given object type and can thus not move any tokens of that object type. Flow variables are further restricted by the weights of the connected arcs. For this we need to calculate the set of possible amount of tokens that can be moved via a single execution of the transition for the given object type. As defined before this can be done by computing the intersection of the possible fired tokens per arc that are connected to a place of the object type. For regular arcs this this set contains of possible fired tokens only contains the weight of the arc. In this specific example the weights of all regular arcs is 1 hence w(x,y) = {1}. In the case of variable arcs we assume that the amount of tokens fired in not restricted by the arc. However, since we assume that no tokens with the same identity can be in the same place, we also know that the maximum number of tokens moved can not exceed the number of unique IDs for the object type connect to the arc. In this specific example this means that the two variable arcs connected to “Pack Items” allow for consumptions of 1 and 2 tokens, i.e. w(x, y) = {1, 2}. The sum of the total flow of all identities of the object type for a transition is in between the minimum and maximum that the arcs allow per firing of this transition times the number firings of that transition. This results in the following corresponding constraints:

[0309]

[0310] The constraints constructed so far enforce that movement of tokens caused by the firing of transitions is valid. To constrain the solution to a solution where the firing leads to a sequence that starts with the initial marking and ends with the final state, we enforce the following place constraints

[0311]

[0312] 1 − ft_PickItem,Item,i2 = 0

[0313] 0 + ft_PickItem,Item,i1 − ft_PackItems,Item,i1 = 0

[0314] 0 + ft_PickItem,Item,i2 − ft_PackItems,Item,i2 = 0

[0315] 0 + ft_PackItems,Item,i1 = 1

[0316] 0 + ft_PackItems,Item,i2 = 1

[0317] 1 + ft_tau1,Package,p1 − ft_PackItems,Package,p1 = 0

[0318] 0 + ft_PackItems,Package,p1 − ft_tau1,Package,p1 − ft_Deliver,Package,p1 − ft_OutsourceDelivery,Package,p1 = 0

[0319] 0 + ft_Deliver,Package,p1 + ft_OutsourceDelivery,Package,p1 = 1

[0320] Lastly, we define the cost function. In this case this is simply the number of times a transition is fired times the cost of that firing:

[0321]

[0322] The combined mixed integer linear program can then be solved by designated solvers. For this example this results in a total cost value of 12 with two executions of Pickitem, one of Packitems, and one of Deliver.

[0323] Complex Example. The example shown in the previous section can still be solved without substantial effort. An experienced person might be able to spot the cheapest valid firing sequence of the Petri net without much effort. In reality however, these problems are typically much larger and more complex.

[0324] A common and more complex task is to find how an execution of a process varies from a desired to be model. For this, consider the petri net shown in Fig. 10. This process model is still considered simple and minimalistic as it only models 4 objects and 12 Activities. In practice, even models with over 10+ objects and 50+ activities are considered common. Additionally, consider the following execution shown in Fig. 11. This execution of the process can also be modeled as a Petri net, which describes the execution, as shown in Fig. 12.

[0325] These two models can now be compared by creating a so called synchronous product net, which is a Petri net that encodes the behaviour of both Petri nets. The corresponding synchronous product net for the two Petri nets is shown in Fig. 13. To find the differences in the two Petri nets we simply have to compute the cheapest firing sequence of the synchronous net, in which the final state is the combined final state of both nets.

[0326] Using LP - OC|SS|IT

[0327] To solve this task we can use the same general linear program as defined in the oreceding example. The resulting LP then has 57 transition variables (one for each transition) and 912 flow variables. On top of this it consists of 279 place constraints and 82 object type transition constraints. Such a complex linear problem with so many variables and constraints cannot be solved by hands and thus, relies on computers for its generation and solving.

[0328] Conclusion

[0329] Object-Centric Petri nets (OCPNs) were introduced recently, aiming to more accurately capture the joint control flow of different business objects in a process. Various applications, e.g., conformance checking, require a shortest path search on the state space of a process model. However, as opposed to classical Petri nets, no search heuristics exist for OCPNs that allow us to traverse the state space more efficiently,i.e., by adopting informed search. To this end, in this paper, we present several optimization problem formulations, i.e., both nonlinear and linear, that serve as such a search heuristic. Our experiments confirm that using search heuristics within the statespace search on OCPNs greatly improves the performance. Our experiments show that the linear optimization problem formulations outpeform the nonlinear formulations.

[0330] References

[0331] 1. van der Aalst, W. M. P.: Process Mining - Data Science in Action, Second Edition. Springer (2016)

[0332] 2. van der Aalst, W. M. P., Adriansyah, A., van Dongen, B. F.: Replaying history on process models for conformance checking and performance analysis. WIREs Data Mining Knowl. Discov. 2(2), 182-192 (2012)

[0333] 3. van der Aalst, W. M. P., Berti, A.: Discovering object-centric petri nets. Fundam. Informaticae 175(1- 4), 1-40 (2020)

[0334] 4. Adams, J. N., Schuster, D., Schmitz, S., Schuh, G., van der Aalst, W. M. P.: Defining cases and variants for object-centric event data. In: Burattin, A., Polyvyanyy, A., Weber, B. (eds.) 4th International Conference on Process Mining, ICPM 2022, Bolzano, Italy, October 23-28, 2022. pp.

[0335] 128-135. IEEE (2022). https: / / doi.org / 10.1109 / ICPM57379.2022.9980730, https: / / doi.org / 10.1109 / ICPM57379.2022.9980730

[0336] 5. Berti, A., van Zelst, S. J., Schuster, D.: Pm4py: A process mining library for python. Softw. Impacts 17, 100556 (2023)

[0337] 6. Carmona, J., van Dongen, B. F., Solti, A., Weidlich, M.: Conformance Checking - Relating Processes and Models. Springer (2018)

[0338] 7. Chinosi, M., Trombetta, A.: BPMN: an introduction to the standard. Comput. Stand. Interfaces 34(1), 124-134 (2012)

[0339] 8. Dijkman, R. M., Dumas, M., Ouyang, C.: Semantics and analysis of business process models in BPMN. Inf. Softw. Technol. 50(12), 1281-1294 (2008)

[0340] 9. Dijkstra, E. W.: A note on two problems in connexion with graphs. Numerische Mathematik 1, 269-271 (1959)

[0341] 10. van Dongen, B. F.: Efficiently computing alignments - using the extended marking equation. In: Weske, M., Montali, M., Weber, I., vom Brocke, J. (eds.) Business Process Management - 16th International Conference, BPM 2018, Sydney, NSW, Australia, September 9-14, 2018, Proceedings. Lecture Notes in Computer Science, vol. 11080, pp. 197-214. Springer (2018)

[0342] 11. Dumas, M., Rosa, M. L., Mendling, J., Reijers, H. A.: Fundamentals of Business Process Management, Second Edition. Springer (2018)

[0343] 12. Galanti, R., de Leoni, M., Navarin, N., Marazzi, A.: Object-centric process predictive analytics. Expert Syst. Appl. 213(Part), 119173 (2023). https: / / doi. Org / 10.1016 / J. ESWA.2022.119173, https: / / doi.org / 10.1016 / j.eswa.2022.119173

[0344] Griva, I., Nash, S. G., Sofer, A.: Linear and Nonlinear Optimization (2. ed.). SIAM (2008) Hart, P. E., Nilsson, N. J., Raphael, B.: A formal basis for the heuristic determination of minimum cost paths. IEEE Trans. Syst. Sci. Cybern. 4(2), 100-107 (1968)

[0345] Knopp, B., van der Aalst, W. M.: Order Management Object-centric Event Log in OCEL 2.0 Standard (Oct 2023)

[0346] Knopp, B., Graves, N.: Container logistics object-centric event log (Oct 2023)

[0347] Liss, L., Adams, J. N., van der Aalst, W. M. P.: Object-centric alignments. In: Almeida, J. P. A., Borbinha, J., Guizzardi, G., Link, S., Zdravkovic, J. (eds.) Conceptual Modeling - 42nd International Conference, ER 2023, Lisbon, Portugal, November 6-9, 2023, Proceedings. Lecture Notes in Computer Science, vol.

[0348] 14320, pp. 201-219. Springer (2023)

[0349] Murata, T.: Petri nets: Properties, analysis and applications. Proc. IEEE 77(4), 541-580 (1989) Park, G., Adams, J. N., van der Aalst, W. M. P.: Opera: Object-centric performance analysis. In: Ralyte, J., Chakravarthy, S., Mohania, M. K., Jeusfeld, M. A., Karlapalem, K. (eds.) Conceptual Modeling -41st International Conference, ER 2022, Hyderabad, India, October 17-20, 2022, Proceedings. Lecture Notes in Computer Science, vol. 13607, pp. 281-292. Springer (2022). https: / / doi.org / 10.1007 / 978-3-031-17995-2_20, https: / / doi.org / 10.1007 / 978-3-031-17995-2__20

[0350] Park, G., Leah Tacke, g. U.: Procure- To-Payment (P2P) Object-centric Event Log in OCEL 2.0 Standard (Oct 2023)

[0351] Reisig, W.: Petri Nets: An Introduction, EATCS Monographs on Theoretical Computer Science, vol. 4. Springer (1985)

[0352] van Zelst, S. J., Bolt, A., van Dongen, B. F.: Computing alignments of event data and process models. Trans. Petri Nets Other Model. Concurr. 13, 1-26 (2018)

Claims

May 21, 2026 Celonis SE C56306PCGSClaims1. A computer-implemented method of determining an under-estimate of costs of a cheapest firing sequence between two markingsm' m'eB(P) in a Variable Arc-net, VAR-net, A,the firing sequence being defined as a sequence of transition firings that is valid in the VAR-net,the VAR-net being defined as a tuple A= (P, T, F, co) withP being a set of places, p,T being a set of transitions, t, such that T ∩ P =∅ andF being a set of arcs, F £ (Px 7) U 7" X. P)co being an arc weight function,(^xr)U(TxP)^F(N>0)Fr£ Fdenoting a set of regular arcs | co (x,p)|= 1 for (x ’)Gp,Fv£ Fdenoting a set of variable arcs, | co (X, )|>1 for (x, )GFvthe under-estimate of costs being determined by solving the following linear optimization problem:minimize gfy,z^>0- ^('Fz)^PuteN>0, VteTwith ft,pand fp,trepresenting a total token flow over the corresponding arc,g being a predetermined goal function such that g astc(t)xtKTfor predeterminedwith a predetermined optimization tool, thus obtaining a set of xt.

2. The method according to claim 1, whereinthe predetermined optimization tool is a linear optimization solver.

3. The method according to claim 2, wherein the linear optimization solver is one of:GEKKO with APOPT, andGoogle OR tools with SAT Solver and GLOP.

4. The method according to one of the preceding claims, whereineach arc can consume or produce a number of tokens, the respective number being either predetermined or variable,a firing sequence being a sequence of firings that are valid based on the net’s rules and start from an initial state.

5. A machine-readable storage medium comprising instructions which when loaded into a computer system controls the computer system to perform the method according to one of the preceding claims.

6. A computer program comprising instructions which, when the program is executed by a computer, cause the computer to perform the method according to one of claims 1-4.