Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • LinearProgram() not found

    Dear all,

    I'm relatively new to programming in Mata.
    I am trying to solve a linear optimization problem using LinearProgram().

    As explained in the command's guide, I'm trying to initialize the program using:

    Code:
    mata: q = LinearProgram()
    But I get the following error:

    Click image for larger version

Name:	LinearProgram.png
Views:	1
Size:	1.6 KB
ID:	1680774


    I looked for a package to download but found nothing.
    I use Stata version 15.1.

    Thanks a lot,
    Adam

  • #2
    I'm sorry to say that wherever you saw the guide to LinearProgram, it was not in the documentation included in your copy of Stata 15.1 or in its help files, because the LinearProgram class was new in Stata 16.

    Comment


    • #3
      Ok, William. Thanks for clarifying this issue.
      Is there any other program that you know of that can be used to solve linear programming problems subject to inequality constraints and is supported in Stata 15.1?

      Comment


      • #4
        None that I know of.

        Comment

        Working...
        X