Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem specification component #1

Open
5 tasks
HolographicTripwire opened this issue May 22, 2023 · 1 comment
Open
5 tasks

Problem specification component #1

HolographicTripwire opened this issue May 22, 2023 · 1 comment

Comments

@HolographicTripwire
Copy link
Collaborator

There should be three blocks to the problem specification component:

  • GPT: A text field, which allows the user to type the problem in plaintext
  • Table: A html table with toggles which allows the user to set constraints, and specify the optimisation parameters of the problem through a clean table
  • Code: A text field in which a problem specification can be written, in our domain-specific language.

The following conversions between the blocks should be implemented:

  • The GPT field should provide a button, which can be pressed to produce an API call that updates the Code block.
  • Updating either the Code or Table block should automatically update the values in the other accordingly.
@willwill2will54
Copy link

willwill2will54 commented May 22, 2023

The table I would imagine looks something like this:

Contraint Op Value Comment
X + 3Y >= 3 Some explanation
Z + Y = 4 More Text
X > 0 Jibber Jabber

Objective Function

X + Y + 2Z must be maximised

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants