Programming in VB: Linear Optimization with Multiple Variables?

  • Thread starter Thread starter fida
  • Start date Start date
  • Tags Tags
    Programming
AI Thread Summary
The discussion centers around creating a Visual Basic (VB) program for solving linear optimization problems. The program should handle two scenarios: for two variables (x and y), it will graphically display equations like 2x + 3y <= 23 and 5x + y <= 12; for three or more variables (x, y, and z), it will present solutions in a tabular format. The focus is on developing source codes and algorithms for both minimization and maximization cases. There is a suggestion to ask more specific questions to receive better responses. Additionally, a note indicates that the thread was double posted, directing users to another thread for responses.
fida
Messages
3
Reaction score
0
need help in vb programming (edited)

hello,
i want to make a linear program which has such this conditional:
if the inputs have 2 variables (ex. x & y) and make equations (ex. 2x + 3y <= 23, 5x + y <= 12) then both equation will shown in graphic.
but if the inputs have more than 2 variables (ex. x, y & z) and have some equations then the solution shown in table.
both programs are optimization case (minimization or maximization).
can anyone help me in making the source codes in vb and/or the algorithms? i really need it, pls! if u have the info feel free to send me an email to fida_nich@hotmail.com
tq
 
Last edited:
Computer science news on Phys.org
You'll get more responses if you ask more specific questions.

- Warren
 
hey ....Admin

My Reply to this thread is MISSING ... |:(
 
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top