• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

A.55.1 Introduction
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(simplex): Solve linear programming problems
          • Introduction
            • gen_state/1
            • constraint/3
            • maximize/3
            • minimize/3
            • variable_value/3
            • objective/2
    • Packages
Availability::- use_module(library(simplex)).
gen_state(-State)
Generates an initial state corresponding to an empty linear program.
ClioPatria (version V3.1.1-51-ga0b30a5)