GSoC 2019: Ideas Page

Introduction

Welcome to Sagemath's Ideas Page for GSoC 2019! (Last year 2018)

SageMath's GSoC organization homepage -- the hub for submitting applications and where the everything on Google's side is organized.

Please subscribe to the sage-gsoc mailing list and the GAP developer list for discussion on possible GAP GSoC projects. Also, make sure you have gone through the information regarding application procedures, requirements and general advice. The Application Template is also available on that wiki page. Archives of past GSoC project ideas can be found here.

All projects will start with an introduction phase to learn about Sagemath’s (or sister projects') internal organization and to get used to their established development process. We also require you to show us that you are able to execute actual development by submitting a relevant patch and/or reviewing a ticket via Trac of the project you are interested in applying to. The developer guide is a great comprehensive resource that can guide you through your first steps in contributing to Sagemath.

Apart from the project ideas listed below, there is also a comprehensive list of future feature wishes in our trac issue tracker. They might contain the perfect project idea for you we didn't even think about!

Project Ideas

Improve Support of Representation Theory

Mentor

Travis Scrimshaw

Area

Algebra, Representation Theory, possibly Combinatorics

Skills

Understanding of linear algebra, preferably representation theory and algebra, associated combinatorics desirable, Cython experience is good

Representation theory is the study of symmetries and is an important part of modern mathematics with applications to other fields, such as physics and chemistry. GAP supports doing computations using the characters of representations, but it often does not contain constructions nor manipulations of the modules. There is currently some limited support within Sage for representations as a proof-of-concept, but this needs to be expanded and refined. Things that can be added are tensor products (for bialgebras), dual representations (for Hopf algebras), induction and restriction functors, methods to construct representations of groups (e.g., symmetric group), Lie algebra representations, etc.

Implement Lie Superalgebras

Mentor

Travis Scrimshaw

Area

Algebra, Representation Theory

Skills

Foundations in algebra and combinatorics, experience reading research papers

Lie superalgebras were introduced by Kac in order to unify bosons and fermions and are currently an active topic of research. Lie algebras have been implemented in Sage and the that framework has been tested and is mostly stable. The next step is to extend this framework to Lie superalgebras and provide implementations of the basic and finite-dimensional Lie superalgebras. This project could also aim to cover some of their representation theory or quantum groups.

Refactor RSK and implement new insertion rules

Mentor

Travis Scrimshaw

Area

Combinatorics

Skills

Understanding of RSK and combinatorics, experience in Cython, data structures, and algorithms preferable

The Robinson-Schensted-Knuth (RSK) bijection is a core part of modern day combinatorics involving tableaux and symmetric functions. The current implementation includes the classical RSK insertion and two generalizations called Edelman-Greene and Hecke insertion. However, the current design does not scale well as new insertion algorithms are implemented in Sage (e.g., super RSK 24894 and dual/coRSK 25070). The goal of this project is to refactor the code to use the same design patterns as the growth diagrams. This project would also include writing new insertion rules.

Enumeration of paths

Mentor

David Coudert

Area

Graph theory

Skills

Knowledge of graph algorithms, Python, C/C++, git.

In the graph module of Sagemath, we currently have a method in Python for enumerating all paths from a source to a destination in an undirected graph by increasing length (number of edges). We also have methods for enumerating all (simple) paths and cycles in a directed graph by increasing length (number of edges). The following tasks are intended to speed up these methods and offer more functionalities:

Diameter, radius, eccentricities, and distances

Mentor

David Coudert

Area

Graph theory

Skills

Knowledge of graph algorithms, Python, C/C++, git

The graph module of Sagemath already provides some smart algorithms for computing the diameter and eccentricity of unweighted undirected graphs, and a large variety of methods for computing paths and distances.

Improvements of the graph module

Mentor

David Coudert

Area

Graph theory

Skills

Knowledge of graph algorithms, Python, C/C++, git

The goal of this project is to contribute the improvement of the graph module of Sagemath by, for instance:

Polynomial optimisation and sums of squares (multiple projects)

Mentor

Dima Pasechnik, Marcelo Forets

Area

Nonlinear optimisation, real algebraic geometry

Skills

algebra, Python, C/C++, Cython, linear/nonlinear optimisation, numerical analysis (MSc/PhD level)

Optimisation problems with polynomial constraints are efficiently, in practice, solved by building an increasingly tight sequence of semidefinite programming (SDP) relaxations, one of them known as Lasserre hierarchy [1].

While Sagemath already has an ability to solve SDPs, more work has to be done in particular to implement moment matrices for polynomials and sums of squares approximations of nonnegative polynomials, and a frontend allowing to define systems of polynomial inequalities using natural syntax, similar to what already can be done with systems of linear inequalities. Another related topic would be to interface to Sagemath more SDP solvers (currently only CVXOPT is available), and possibly prototype an arbitrary precision SDP solver to avoid typical numerical difficulties arising in sums of squares-based SDP relaxations, e.g. implementing a version of the algorithm from [2].

Sagemath distributions on OSX, Linux, and *BSDs (multiple projects)

Mentor

Dima Pasechnik, ...

Area

Software packaging and distribution, modularization

Skills

UNIX skills, experience with software distribution systems on targeted platforms

Currently Sagemath is distributed either as semi-complete source/binary blob, with exception of few Linux distributions, in particular Debian https://wiki.debian.org/DebianScience/Sage, which an effort of stripping out components already provided, and modularize the rest. Building on this experience, we would like to see Sagemath available within