kth.sePublications KTH
Change search
Link to record
Permanent link

Direct link
Alternative names
Publications (10 of 65) Show all publications
Wessén, J., Carlsson, M., Schulte, C., Flener, P., Pecora, F. & Matskin, M. (2023). A constraint programming model for the scheduling and workspace layout design of a dual-arm multi-tool assembly robot. Constraints, 28(2), 71-104
Open this publication in new window or tab >>A constraint programming model for the scheduling and workspace layout design of a dual-arm multi-tool assembly robot
Show others...
2023 (English)In: Constraints, ISSN 1383-7133, E-ISSN 1572-9354, Vol. 28, no 2, p. 71-104Article in journal (Refereed) Published
Abstract [en]

The generation of a robot program can be seen as a collection of sub-problems, where many combinations of some of these sub-problems are well studied. The performance of a robot program is strongly conditioned by the location of the tasks. However, the scope of previous methods does not include workspace layout design, likely missing high-quality solutions. In industrial applications, designing robot workspace layout is part of the commissioning. We broaden the scope and show how to model a dual-arm multi-tool robot assembly problem. Our model includes more robot programming sub-problems than previous methods, as well as workspace layout design. We propose a constraint programming formulation in MiniZinc that includes elements from scheduling and routing, extended with variable task locations. We evaluate the model on realistic assembly problems and workspaces, utilizing the dual-arm YuMi robot from ABB Ltd. We also evaluate redundant constraints and various formulations for avoiding arm-to-arm collisions. The best model variant quickly finds high-quality solutions for all problem instances. This demonstrates the potential of our approach as a valuable tool for a robot programmer.

Place, publisher, year, edition, pages
Springer Nature, 2023
Keywords
Assembly manufacturing, Constraint programming, Robot planning and scheduling, Workspace layout design
National Category
Robotics and automation Computer Sciences
Identifiers
urn:nbn:se:kth:diva-338539 (URN)10.1007/s10601-023-09345-4 (DOI)001032500800001 ()2-s2.0-85164960102 (Scopus ID)
Note

QC 20250509

Available from: 2023-11-14 Created: 2023-11-14 Last updated: 2025-05-09Bibliographically approved
Corcoran, D., Kreuger, P. & Schulte, C. (2020). Efficient Real-Time Traffic Generation for 5G RAN. In: Proceedings of IEEE/IFIP Network Operations and Management Symposium 2020: Management in the Age of Softwarization and Artificial Intelligence, NOMS 2020: . Paper presented at 2020 IEEE/IFIP Network Operations and Management Symposium, Network Operations and Management Symposium, NOMS 2020 Budapest20 April 2020 through 24 April 2020. Institute of Electrical and Electronics Engineers (IEEE), Article ID 9110314.
Open this publication in new window or tab >>Efficient Real-Time Traffic Generation for 5G RAN
2020 (English)In: Proceedings of IEEE/IFIP Network Operations and Management Symposium 2020: Management in the Age of Softwarization and Artificial Intelligence, NOMS 2020, Institute of Electrical and Electronics Engineers (IEEE) , 2020, article id 9110314Conference paper, Published paper (Refereed)
Abstract [en]

Modern telecommunication and mobile networks are increasingly complex from a resource management perspective, with diverse combinations of software and infrastructure elements that need to be configured and tuned for efficient operation with high quality of service. Increased real-time automation at all levels and time-frames is a critical tool in controlling this complexity. A key component in automation is practical and accurate simulation methods that can be used in live traffic scenarios. This paper introduces a new method with supporting algorithms for sampling key parameters from live or recorded traffic which can be used to generate large volumes of synthetic traffic with very similar rate distributions and temporal characteristics. Multiple spatial renewal processes are used to generate fractional Gaussian noise, which is scaled and transformed into a log-normal rate distribution with discrete arrival events, fitted to the properties observed in given recorded traces. This approach works well for modelling large user aggregates but is especially useful for medium sized and relatively small aggregates, where existing methods struggle to reproduce the most important properties of recorded traces. The technique is demonstrated through experimental comparisons with data collected from an operational LTE network to be highly useful in supporting self-learning and automation algorithms which can ultimately reduce complexity, increase energy efficiency, and reduce total network operation costs.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2020
Series
IEEE IFIP Network Operations and Management Symposium, ISSN 1542-1201
National Category
Computer Systems
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-296231 (URN)10.1109/NOMS47738.2020.9110314 (DOI)000716920500042 ()2-s2.0-85086765703 (Scopus ID)
Conference
2020 IEEE/IFIP Network Operations and Management Symposium, Network Operations and Management Symposium, NOMS 2020 Budapest20 April 2020 through 24 April 2020
Funder
Wallenberg AI, Autonomous Systems and Software Program (WASP)
Note

QC 20210609

Part of proceeding: ISBN 978-1-7281-4973-8

Available from: 2021-06-01 Created: 2021-06-01 Last updated: 2023-04-14Bibliographically approved
Wessén, J. L., Schulte, C. & Carlsson, M. (2020). Scheduling of Dual-Arm Multi-Tool Assembly Robots and Workspace Layout Optimization. In: Proceedings of 17th International Conference on the Integration of Constraint Programming, Artificial Intelligence, and Operations Research,: . Paper presented at International Conference on the Integration of Constraint Programming, Artificial Intelligence, and Operations Research,Online, 21-24 Sep 2020.
Open this publication in new window or tab >>Scheduling of Dual-Arm Multi-Tool Assembly Robots and Workspace Layout Optimization
2020 (English)In: Proceedings of 17th International Conference on the Integration of Constraint Programming, Artificial Intelligence, and Operations Research,, 2020Conference paper, Published paper (Refereed)
Abstract [en]

The profitability of any assembly robot installation dependson the production throughput, and to an even greater extent on incurred costs. Most of the cost comes from manually designing the layoutand programming the robot as well as production downtime. With ever smaller production series, fewer products share this cost. In this work,we present the dual arm assembly program as an integrated routing andscheduling problem with complex arm-to-arm collision avoidance. Wealso present a set of high-level layout decisions, and we propose a unifiedCP model to solve the joint problem. The model is evaluated on realistic instances and real data. The model finds high-quality solutions in shorttime, and proves optimality for all evaluated problem instances, whichd emonstrates the potential of the approach.

Keywords
Assembly manufacturing, Constraint programming, Robot planning and scheduling
National Category
Computer Sciences Robotics and automation
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-281417 (URN)10.1007/978-3-030-58942-4_33 (DOI)000884722900033 ()2-s2.0-85092173915 (Scopus ID)
Conference
International Conference on the Integration of Constraint Programming, Artificial Intelligence, and Operations Research,Online, 21-24 Sep 2020
Note

QC 20200921

Available from: 2020-09-18 Created: 2020-09-18 Last updated: 2025-02-05Bibliographically approved
Kroll, L., Segeljakt, K., Schulte, C., Haridi, S. & Carbone, P. (2019). Arc: An IR for batch and stream programming. In: Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI): . Paper presented at 17th ACM SIGPLAN International Symposium on Database Programming Languages, DBPL 2019, co-located with PLDI 2019; Phoenix; United States; 23 June 2019 (pp. 53-58). Association for Computing Machinery (ACM)
Open this publication in new window or tab >>Arc: An IR for batch and stream programming
Show others...
2019 (English)In: Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), Association for Computing Machinery (ACM), 2019, p. 53-58Conference paper, Published paper (Refereed)
Abstract [en]

In big data analytics, there is currently a large number of data programming models and their respective frontends such as relational tables, graphs, tensors, and streams. This has lead to a plethora of runtimes that typically focus on the efficient execution of just a single frontend. This fragmentation manifests itself today by highly complex pipelines that bundle multiple runtimes to support the necessary models. Hence, joint optimization and execution of such pipelines across these frontend-bound runtimes is infeasible. We propose Arc as the first unified Intermediate Representation (IR) for data analytics that incorporates stream semantics based on a modern specification of streams, windows and stream aggregation, to combine batch and stream computation models. Arc extends Weld, an IR for batch computation and adds support for partitioned, out-of-order stream and window operators which are the most fundamental building blocks in contemporary data streaming.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2019
Series
Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)
Keywords
Data analytics, Intermediate representation, Stream processing
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:kth:diva-262617 (URN)10.1145/3315507.3330199 (DOI)000519102100007 ()2-s2.0-85071162040 (Scopus ID)
Conference
17th ACM SIGPLAN International Symposium on Database Programming Languages, DBPL 2019, co-located with PLDI 2019; Phoenix; United States; 23 June 2019
Note

QC 20191017

Part of ISBN 9781450367189

Available from: 2019-10-17 Created: 2019-10-17 Last updated: 2024-10-15Bibliographically approved
Meldrum, M., Segeljakt, K., Kroll, L., Carbone, P., Schulte, C. & Haridi, S. (2019). Arcon: Continuous and deep data stream analytics. In: ACM International Conference Proceeding Series: . Paper presented at 13th International Workshop on Real-Time Business Intelligence and Analytics, BIRTE 2019, in conjunction with the VLDB 2019 Conference, 26 August 2019. Association for Computing Machinery
Open this publication in new window or tab >>Arcon: Continuous and deep data stream analytics
Show others...
2019 (English)In: ACM International Conference Proceeding Series, Association for Computing Machinery , 2019Conference paper, Published paper (Refereed)
Abstract [en]

Contemporary end-to-end data pipelines need to combine many diverse workloads such as machine learning, relational operations, stream dataflows, tensor transformations, and graphs. For each of these workload types, there exists several frontends (e.g., SQL, Beam, Keras) based on different programming languages as well as different runtimes (e.g., Spark, Flink, Tensorflow) that optimize for a particular frontend and possibly a hardware architecture (e.g., GPUs). The resulting pipelines suffer in terms of complexity and performance due to excessive type conversions, materialization of intermediate results, and lack of cross-framework optimizations. Arcon aims to provide a unified approach to declare and execute tasks across frontend-boundaries as well as enabling their seamless integration with event-driven services at scale. In this demonstration, we present Arcon and through a series of use-case scenarios demonstrate that its execution model is powerful enough to cover existing as well as upcoming real-time computations for analytics and application-specific needs.

Place, publisher, year, edition, pages
Association for Computing Machinery, 2019
Keywords
Data flow analysis, Information analysis, Object oriented programming, Program processors, Application specific, Framework optimization, Hardware architecture, Intermediate results, Real-time computations, Relational operations, Seamless integration, Tensor transformation, Pipelines
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:kth:diva-268550 (URN)10.1145/3350489.3350492 (DOI)2-s2.0-85072806432 (Scopus ID)
Conference
13th International Workshop on Real-Time Business Intelligence and Analytics, BIRTE 2019, in conjunction with the VLDB 2019 Conference, 26 August 2019
Note

QC 20200324

Part of ISBN 9781450376600

Available from: 2020-03-24 Created: 2020-03-24 Last updated: 2024-10-15Bibliographically approved
Castañeda Lozano, R., Carlsson, M., Hjort Blindell, G. & Schulte, C. (2019). Combinatorial register allocation and instruction scheduling. ACM Transactions on Programming Languages and Systems, 41(3), Article ID 17.
Open this publication in new window or tab >>Combinatorial register allocation and instruction scheduling
2019 (English)In: ACM Transactions on Programming Languages and Systems, ISSN 0164-0925, E-ISSN 1558-4593, Vol. 41, no 3, article id 17Article in journal (Refereed) Published
Abstract [en]

This article introduces a combinatorial optimization approach to register allocation and instruction scheduling, two central compiler problems. Combinatorial optimization has the potential to solve these problems optimally and to exploit processor-specific features readily. Our approach is the first to leverage this potential in practice: it captures the complete set of program transformations used in state-of-the-art compilers, scales to medium-sized functions of up to 1,000 instructions, and generates executable code. This level of practicality is reached by using constraint programming, a particularly suitable combinatorial optimization technique. Unison, the implementation of our approach, is open source, used in industry, and integrated with the LLVM toolchain. An extensive evaluation confirms that Unison generates better code than LLVM while scaling to medium-sized functions. The evaluation uses systematically selected benchmarks from MediaBench and SPEC CPU2006 and different processor architectures (Hexagon, ARM, MIPS). Mean estimated speedup ranges from 1.1% to 10% and mean code size reduction ranges from 1.3% to 3.8% for the different architectures. A significant part of this improvement is due to the integrated nature of the approach. Executing the generated code on Hexagon confirms that the estimated speedup results in actual speedup. Given a fixed time limit, Unison solves optimally functions of up to 946 instructions, nearly an order of magnitude larger than previous approaches. The results show that our combinatorial approach can be applied in practice to trade compilation time for code quality beyond the usual compiler optimization levels, identify improvement opportunities in heuristic algorithms, and fully exploit processor-specific features.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2019
Keywords
Combinatorial optimization, Instruction scheduling, Register allocation
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:kth:diva-262613 (URN)10.1145/3332373 (DOI)000501479500004 ()2-s2.0-85068443848 (Scopus ID)
Note

QC 20191024

Not duplicate with DiVA 1232469

Available from: 2019-10-24 Created: 2019-10-24 Last updated: 2024-03-18Bibliographically approved
Frimodig, S. & Schulte, C. (2019). Models for Radiation Therapy Patient Scheduling. In: 25th International Conference on Principles and Practice of Constraint Programming, CP 2019: . Paper presented at 25th International Conference on Principles and Practice of Constraint Programming, CP 2019; Stamford; United States; 30 September 2019 through 4 October 2019 (pp. 421-437). Springer, 11802
Open this publication in new window or tab >>Models for Radiation Therapy Patient Scheduling
2019 (English)In: 25th International Conference on Principles and Practice of Constraint Programming, CP 2019, Springer, 2019, Vol. 11802, p. 421-437Conference paper, Published paper (Refereed)
Abstract [en]

In Europe, around half of all patients diagnosed with cancer are treated with radiation therapy. To reduce waiting times, optimizing the use of linear accelerators for treatment is crucial. This paper introduces an Integer Programming (IP) and two Constraint Programming (CP) models for the non-block radiotherapy patient scheduling problem. Patients are scheduled considering priority, pattern, duration, and start day of their treatment. The models include expected future patient arrivals. Treatment time of the day is included in the models as time windows which enable more realistic objectives and constraints. The models are thoroughly evaluated for multiple different scenarios, altering: planning day, machine availability, arrival rates, patient backlog, and the number of time windows in a day. The results demonstrate that the CP models find feasible solutions earlier, while the IP model reaches optimality considerably faster.

Place, publisher, year, edition, pages
Springer, 2019
Series
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), ISSN 0302-9743 ; 11802
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:kth:diva-265123 (URN)10.1007/978-3-030-30048-7_25 (DOI)000560404200025 ()2-s2.0-85075737127 (Scopus ID)
Conference
25th International Conference on Principles and Practice of Constraint Programming, CP 2019; Stamford; United States; 30 September 2019 through 4 October 2019
Note

QC 20191211

Part of ISBN 9783030300470

Available from: 2019-12-11 Created: 2019-12-11 Last updated: 2024-10-18Bibliographically approved
Castañeda Lozano, R. & Schulte, C. (2019). Survey on Combinatorial Register Allocation and Instruction Scheduling. ACM Computing Surveys, 52(3), Article ID 62.
Open this publication in new window or tab >>Survey on Combinatorial Register Allocation and Instruction Scheduling
2019 (English)In: ACM Computing Surveys, ISSN 0360-0300, E-ISSN 1557-7341, Vol. 52, no 3, article id 62Article in journal (Refereed) Published
Abstract [en]

Register allocation (mapping variables to processor registers or memory) and instruction scheduling (reordering instructions to increase instruction-level parallelism) are essential tasks for generating efficient assembly code in a compiler. In the past three decades, combinatorial optimization has emerged as an alternative to traditional, heuristic algorithms for these two tasks. Combinatorial optimization approaches can deliver optimal solutions according to a model, can precisely capture trade-offs between conflicting decisions, and are more flexible at the expense of increased compilation time. This article provides an exhaustive literature review and a classification of combinatorial optimization approaches to register allocation and instruction scheduling, with a focus on the techniques that are most applied in this context: integer programming, constraint programming, partitioned Boolean quadratic programming, and enumeration. Researchers in compilers and combinatorial optimization can benefit from identifying developments, trends, and challenges in the area; compiler practitioners may discern opportunities and grasp the potential benefit of applying combinatorial optimization.

Place, publisher, year, edition, pages
ASSOC COMPUTING MACHINERY, 2019
Keywords
Combinatorial optimization, register allocation, instruction scheduling
National Category
Computer Sciences
Identifiers
urn:nbn:se:kth:diva-257823 (URN)10.1145/3200920 (DOI)000481570600019 ()2-s2.0-85068049964 (Scopus ID)
Note

Not duplicate with DiVA 758112.

Not duplicate with DiVA 1232921.

QC 20190906

Available from: 2019-09-06 Created: 2019-09-06 Last updated: 2022-06-26Bibliographically approved
Castañeda Lozano, R., Carlsson, M., Hjort Blindell, G. & Schulte, C. (2018). Combinatorial Register Allocation and Instruction Scheduling.
Open this publication in new window or tab >>Combinatorial Register Allocation and Instruction Scheduling
2018 (English)Report (Other academic)
Abstract [en]

This paper introduces a combinatorial optimization approach to register allocation and instruction scheduling, two central compiler problems. Combinatorial optimization has the potential to solve these problems optimally and to exploit processor-specific features readily. Our approach is the first to leverage this potential in practice: it captures the complete set of program transformations used in state-of-the-art compilers, scales to medium-sized functions of up to 1000 instructions, and generates executable code. This level of practicality is reached by using constraint programming, a particularly suitable combinatorial optimization technique. Unison, the implementation of our approach, is open source, used in industry, and integrated with the LLVM toolchain.

An extensive evaluation of estimated speed, code size, and scalability confirms that Unison generates better code than LLVM while scaling to medium-sized functions. The evaluation uses systematically selected benchmarks from MediaBench and SPEC CPU2006 and different processor architectures (Hexagon, ARM, MIPS). Mean estimated speedup ranges from 1% to 9.3% and mean code size reduction ranges from 0.8% to 3.9% for the different architectures. Executing the generated code on Hexagon confirms that the estimated speedup indeed results in actual speedup. Given a fixed time limit, Unison solves optimally functions of up to 647 instructions, delivers improved solutions for functions of up to 874 instructions, and achieves more than 85% of the potential speed for 90% of the functions on Hexagon.

The results in this paper show that our combinatorial approach can be used in practice to trade compilation time for code quality beyond the usual compiler optimization levels, fully exploit processor-specific features, and identify improvement opportunities in existing heuristic algorithms.

National Category
Computer Systems
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-232118 (URN)
Note

QC 20180822

Available from: 2018-07-11 Created: 2018-07-11 Last updated: 2024-03-15Bibliographically approved
Ingmar, L. & Schulte, C. (2018). Making Compact-Table Compact. In: 24th International Conference on the Principles and Practice of Constraint Programming, CP 2018: . Paper presented at 24th International Conference on the Principles and Practice of Constraint Programming, CP 2018, Lille, France, 27 August 2018 through 31 August 2018 (pp. 210-218). Springer, 11008
Open this publication in new window or tab >>Making Compact-Table Compact
2018 (English)In: 24th International Conference on the Principles and Practice of Constraint Programming, CP 2018, Springer, 2018, Vol. 11008, p. 210-218Conference paper, Published paper (Refereed)
Abstract [en]

The compact-table propagator for table constraints appears to be a strong candidate for inclusion into any constraint solver due to its efficiency and simplicity. However, successful integration into a constraint solver based on copying rather than trailing is not obvious: while the underlying bit-set data structure is sparse for efficiency it is not compact for memory, which is essential for a copying solver. The paper introduces techniques to make compact-table an excellent fit for a copying solver. The key is to make sparse bit-sets dynamically compact (only their essential parts occupy memory and their implementation is dynamically adapted during search) and tables shared (their read-only parts are shared among copies). Dynamically compact bit-sets reduce peak memory by 7.2% and runtime by 13.6% on average and by up to 66.3% and 33.2%. Shared tables even further reduce runtime and memory usage. The reduction in runtime exceeds the reduction in memory and a cache analysis indicates that our techniques might also be beneficial for trailing solvers. The proposed implementation has replaced Gecode’s original implementations as it runs on average almost an order of magnitude faster while using half the memory.

Place, publisher, year, edition, pages
Springer, 2018
Series
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), ISSN 0302-9743 ; 11008
National Category
Computer Engineering
Identifiers
urn:nbn:se:kth:diva-238350 (URN)10.1007/978-3-319-98334-9_14 (DOI)000546520500014 ()2-s2.0-85053157546 (Scopus ID)9783319983332 (ISBN)
Conference
24th International Conference on the Principles and Practice of Constraint Programming, CP 2018, Lille, France, 27 August 2018 through 31 August 2018
Note

QC 20181113

Available from: 2018-11-13 Created: 2018-11-13 Last updated: 2022-06-26Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-6283-7004

Search in DiVA

Show all publications