Converting a Linear Programming problem for solving using Machine Learning












0












$begingroup$


I have a typical linear programming optimization problem with a huge data set (millions of records and upwards of 150 GB data file). The size of the data is causing cost issues for reaching an optimal solution.



Is it possible to convert linear programming problems to machine learning type of problems that can be solved with more cost effective means?



Thanks










share|cite|improve this question









$endgroup$












  • $begingroup$
    In general machine learning methods are more costly than linear regression. Or do you mean constrained linear optimization?
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:15










  • $begingroup$
    Yes - that is correct - constrained model.
    $endgroup$
    – user510557
    Dec 5 '17 at 20:20










  • $begingroup$
    Okay, then maybe you are right that it could be faster with some machine learning method. But without any more detailed description of the nature of the data it will be quite difficult to propose an approach.
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:23










  • $begingroup$
    Thanks for your comments mathreadler. The data is a collection of rows and columns where rows represent some disease that can be treated by a combination of medicines (represented by the columns).. The objective is to find lowest combination of medicines that can treat the disease with maximum potential results. The maximum number of medicines that can be selected should not exceed 4. A medicine can be used to treat more than one disease. If a medicine can treat a disease, there is a 1 value that is placed at the intersection of the disease and medicine. Thanks
    $endgroup$
    – user510557
    Dec 6 '17 at 21:13










  • $begingroup$
    Please note that this is not the real description of the data due to sensitivity issues. But close enough to give an idea.
    $endgroup$
    – user510557
    Dec 6 '17 at 21:17
















0












$begingroup$


I have a typical linear programming optimization problem with a huge data set (millions of records and upwards of 150 GB data file). The size of the data is causing cost issues for reaching an optimal solution.



Is it possible to convert linear programming problems to machine learning type of problems that can be solved with more cost effective means?



Thanks










share|cite|improve this question









$endgroup$












  • $begingroup$
    In general machine learning methods are more costly than linear regression. Or do you mean constrained linear optimization?
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:15










  • $begingroup$
    Yes - that is correct - constrained model.
    $endgroup$
    – user510557
    Dec 5 '17 at 20:20










  • $begingroup$
    Okay, then maybe you are right that it could be faster with some machine learning method. But without any more detailed description of the nature of the data it will be quite difficult to propose an approach.
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:23










  • $begingroup$
    Thanks for your comments mathreadler. The data is a collection of rows and columns where rows represent some disease that can be treated by a combination of medicines (represented by the columns).. The objective is to find lowest combination of medicines that can treat the disease with maximum potential results. The maximum number of medicines that can be selected should not exceed 4. A medicine can be used to treat more than one disease. If a medicine can treat a disease, there is a 1 value that is placed at the intersection of the disease and medicine. Thanks
    $endgroup$
    – user510557
    Dec 6 '17 at 21:13










  • $begingroup$
    Please note that this is not the real description of the data due to sensitivity issues. But close enough to give an idea.
    $endgroup$
    – user510557
    Dec 6 '17 at 21:17














0












0








0





$begingroup$


I have a typical linear programming optimization problem with a huge data set (millions of records and upwards of 150 GB data file). The size of the data is causing cost issues for reaching an optimal solution.



Is it possible to convert linear programming problems to machine learning type of problems that can be solved with more cost effective means?



Thanks










share|cite|improve this question









$endgroup$




I have a typical linear programming optimization problem with a huge data set (millions of records and upwards of 150 GB data file). The size of the data is causing cost issues for reaching an optimal solution.



Is it possible to convert linear programming problems to machine learning type of problems that can be solved with more cost effective means?



Thanks







learning programming






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 5 '17 at 20:14









user510557user510557

1




1












  • $begingroup$
    In general machine learning methods are more costly than linear regression. Or do you mean constrained linear optimization?
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:15










  • $begingroup$
    Yes - that is correct - constrained model.
    $endgroup$
    – user510557
    Dec 5 '17 at 20:20










  • $begingroup$
    Okay, then maybe you are right that it could be faster with some machine learning method. But without any more detailed description of the nature of the data it will be quite difficult to propose an approach.
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:23










  • $begingroup$
    Thanks for your comments mathreadler. The data is a collection of rows and columns where rows represent some disease that can be treated by a combination of medicines (represented by the columns).. The objective is to find lowest combination of medicines that can treat the disease with maximum potential results. The maximum number of medicines that can be selected should not exceed 4. A medicine can be used to treat more than one disease. If a medicine can treat a disease, there is a 1 value that is placed at the intersection of the disease and medicine. Thanks
    $endgroup$
    – user510557
    Dec 6 '17 at 21:13










  • $begingroup$
    Please note that this is not the real description of the data due to sensitivity issues. But close enough to give an idea.
    $endgroup$
    – user510557
    Dec 6 '17 at 21:17


















  • $begingroup$
    In general machine learning methods are more costly than linear regression. Or do you mean constrained linear optimization?
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:15










  • $begingroup$
    Yes - that is correct - constrained model.
    $endgroup$
    – user510557
    Dec 5 '17 at 20:20










  • $begingroup$
    Okay, then maybe you are right that it could be faster with some machine learning method. But without any more detailed description of the nature of the data it will be quite difficult to propose an approach.
    $endgroup$
    – mathreadler
    Dec 5 '17 at 20:23










  • $begingroup$
    Thanks for your comments mathreadler. The data is a collection of rows and columns where rows represent some disease that can be treated by a combination of medicines (represented by the columns).. The objective is to find lowest combination of medicines that can treat the disease with maximum potential results. The maximum number of medicines that can be selected should not exceed 4. A medicine can be used to treat more than one disease. If a medicine can treat a disease, there is a 1 value that is placed at the intersection of the disease and medicine. Thanks
    $endgroup$
    – user510557
    Dec 6 '17 at 21:13










  • $begingroup$
    Please note that this is not the real description of the data due to sensitivity issues. But close enough to give an idea.
    $endgroup$
    – user510557
    Dec 6 '17 at 21:17
















$begingroup$
In general machine learning methods are more costly than linear regression. Or do you mean constrained linear optimization?
$endgroup$
– mathreadler
Dec 5 '17 at 20:15




$begingroup$
In general machine learning methods are more costly than linear regression. Or do you mean constrained linear optimization?
$endgroup$
– mathreadler
Dec 5 '17 at 20:15












$begingroup$
Yes - that is correct - constrained model.
$endgroup$
– user510557
Dec 5 '17 at 20:20




$begingroup$
Yes - that is correct - constrained model.
$endgroup$
– user510557
Dec 5 '17 at 20:20












$begingroup$
Okay, then maybe you are right that it could be faster with some machine learning method. But without any more detailed description of the nature of the data it will be quite difficult to propose an approach.
$endgroup$
– mathreadler
Dec 5 '17 at 20:23




$begingroup$
Okay, then maybe you are right that it could be faster with some machine learning method. But without any more detailed description of the nature of the data it will be quite difficult to propose an approach.
$endgroup$
– mathreadler
Dec 5 '17 at 20:23












$begingroup$
Thanks for your comments mathreadler. The data is a collection of rows and columns where rows represent some disease that can be treated by a combination of medicines (represented by the columns).. The objective is to find lowest combination of medicines that can treat the disease with maximum potential results. The maximum number of medicines that can be selected should not exceed 4. A medicine can be used to treat more than one disease. If a medicine can treat a disease, there is a 1 value that is placed at the intersection of the disease and medicine. Thanks
$endgroup$
– user510557
Dec 6 '17 at 21:13




$begingroup$
Thanks for your comments mathreadler. The data is a collection of rows and columns where rows represent some disease that can be treated by a combination of medicines (represented by the columns).. The objective is to find lowest combination of medicines that can treat the disease with maximum potential results. The maximum number of medicines that can be selected should not exceed 4. A medicine can be used to treat more than one disease. If a medicine can treat a disease, there is a 1 value that is placed at the intersection of the disease and medicine. Thanks
$endgroup$
– user510557
Dec 6 '17 at 21:13












$begingroup$
Please note that this is not the real description of the data due to sensitivity issues. But close enough to give an idea.
$endgroup$
– user510557
Dec 6 '17 at 21:17




$begingroup$
Please note that this is not the real description of the data due to sensitivity issues. But close enough to give an idea.
$endgroup$
– user510557
Dec 6 '17 at 21:17










1 Answer
1






active

oldest

votes


















-1












$begingroup$

Are you using a binary variable to denote whether a medicine is used for a disease or not ? If yes, did you exclude the combinations of medicines-diseases where the medicine does not cure the disease ?



By excluding these combinations, you will be reducing the size of your math program. For example, you have Binary_Input_Data(Medicine, Disease) = 1 if the medicine can treat the disease. Then, your Binary_Variable(Medicine, Disease) must be generated only when Binary_Input_Data(Medicine, Disease) = 1.






share|cite|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2552813%2fconverting-a-linear-programming-problem-for-solving-using-machine-learning%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    -1












    $begingroup$

    Are you using a binary variable to denote whether a medicine is used for a disease or not ? If yes, did you exclude the combinations of medicines-diseases where the medicine does not cure the disease ?



    By excluding these combinations, you will be reducing the size of your math program. For example, you have Binary_Input_Data(Medicine, Disease) = 1 if the medicine can treat the disease. Then, your Binary_Variable(Medicine, Disease) must be generated only when Binary_Input_Data(Medicine, Disease) = 1.






    share|cite|improve this answer









    $endgroup$


















      -1












      $begingroup$

      Are you using a binary variable to denote whether a medicine is used for a disease or not ? If yes, did you exclude the combinations of medicines-diseases where the medicine does not cure the disease ?



      By excluding these combinations, you will be reducing the size of your math program. For example, you have Binary_Input_Data(Medicine, Disease) = 1 if the medicine can treat the disease. Then, your Binary_Variable(Medicine, Disease) must be generated only when Binary_Input_Data(Medicine, Disease) = 1.






      share|cite|improve this answer









      $endgroup$
















        -1












        -1








        -1





        $begingroup$

        Are you using a binary variable to denote whether a medicine is used for a disease or not ? If yes, did you exclude the combinations of medicines-diseases where the medicine does not cure the disease ?



        By excluding these combinations, you will be reducing the size of your math program. For example, you have Binary_Input_Data(Medicine, Disease) = 1 if the medicine can treat the disease. Then, your Binary_Variable(Medicine, Disease) must be generated only when Binary_Input_Data(Medicine, Disease) = 1.






        share|cite|improve this answer









        $endgroup$



        Are you using a binary variable to denote whether a medicine is used for a disease or not ? If yes, did you exclude the combinations of medicines-diseases where the medicine does not cure the disease ?



        By excluding these combinations, you will be reducing the size of your math program. For example, you have Binary_Input_Data(Medicine, Disease) = 1 if the medicine can treat the disease. Then, your Binary_Variable(Medicine, Disease) must be generated only when Binary_Input_Data(Medicine, Disease) = 1.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 10 '18 at 22:53









        msx5423msx5423

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2552813%2fconverting-a-linear-programming-problem-for-solving-using-machine-learning%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Bundesstraße 106

            Verónica Boquete

            Ida-Boy-Ed-Garten