Skip to Main Content
IBM Data and AI Ideas Portal for Customers

This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at

Status Planned for future release
Created by Guest
Created on Apr 23, 2018

Support user-defined Python module

I would like to maintain a set of Python functions and classes in a separate model/script, then do an import from that module in a notebook and DO4DSX model.
Use cases:
* I want to move complex function definitions out of my notebook.
The functions take up a lot of screen space in the notebook and are not that relevant for the main topic of the notebook.
* I have multiple notebooks in the same project that want to share code.
* I have a set of functions/classes I want to re-use among multiple projects of possibly multiple users
This code is not stable and may need frequent updates and additions. Therefore, it would not be feasible to require the assistance of a DSX administrator to update the module.
Currently, DSX does support a custom module/script. It can be uploaded to the scripts directory and in DSX 1.2 it can be viewed and edited.
In addition, DSX supports the notion of a Library project to which other projects have access to.
Notebooks can import from a module in either the local scripts directory or a directory in the shared Library project.
But the DO4DSX model based on such notebook fails to run due to a failure to import the module.

In particular, I would like to create a set of re-usable functions that support DO4DSX optimization models.
Without this feature, I would have to copy and paste a large block of code in the top cells of a notebook. This is ugly and difficult to maintain.

  • Admin
    Gene Azad
    Jun 16, 2021

    This is currently under investigation

  • Guest
    Dec 14, 2018

    If scripts can be imported in notebook, it is true that it should as well be supported in model builders. Under consideration.