Suljettu

Build me a User Form on VB.NET

In the Optimization class of the template project start developing your optimization code below

the line marked as “CREATE OPTIMIZATION CODE BELOW THIS LINE”

2- Create a public function named SeasonalWarehousing with a single input argument as a

Database object (e.g. db As Database).

3- Initialize the Flow property of all arcs to zero using a For Each loop over [login to view URL], and

initialize your solver model using InitSolver

4- Using a For Each loop over [login to view URL], add a variable for each arc using the ID property

of the arc as the variable string. The upper bound for the variable is the Capacity of the arc for

each variable. The lower bound for the variable is the Capacity of the arc if the Type property of

the arc is “shipment” and 0 otherwise.

5- Create the warehouse capacity constraints for each period from 1 to [login to view URL] using a For

loop. Inside this loop, add a function using a function string by concatenating a word such as

“Warehouse” with the period number. Set the lower bound of the function as 0, and the upper

bound as db.WarehouseCapacity. Create a For Each loop over [login to view URL], in which you first

create a LINQ to retrieve the arc from the list [login to view URL]("period_" & i & "_" & p).ArcsOut,

where the Type property of the arc is “warehouse”. This list will return a single arc, which can be

used as the variable name in SetCoeff (e.g. list(0).ID) in the warehouse capacity constraint with a

coefficient of 1.

6- Create the objective function. Using a For Each loop over [login to view URL], set the coefficient of

each variable representing an arc as the Cost property of that arc. Solve the model using this

objective function by minimizing it.

7- If the solution is optimal, then use a For Each loop over [login to view URL] to set the Flow

property of each arc using GetVarValues with the arc ID, and return the objective function value

using GetFunValue. If the solution is not optimal, return -1, which concludes the function

SeasonalWarehousing.

8- Compile and run the template project to validate the results of the optimization code. Click on

the entries in lstNode to see ArcIn ArcsOut with flow values.

9- Create a second database (e.g. [login to view URL]) with five or more products over six or more

periods, and test your project on this new database.

10- Add a new form named frmProducts. Create a drag-n-drop interface on this form to visualize

your database. Change the “Copy to Output Directory” property of your database file (in the

Solution Explorer) to “Copy if newer” to allow changes to your database. Add a button on

frmWarehouse to open an instance of frmProducts.

Taidot: VB.NET, PHP, SQL, C# -ohjelmointi, tietojärjestelmäarkkitehtuuri

Näytä lisää: add login form vb net project, add mp3 form vb net, build goal seek vb net, build program scrach vb net, build touchscreen interface vb net, code connecting login form vb net sever, contact email form vb net, contact form vb net, convert access form vb net, convert access form vb net express, create registration form vb net, css windows form vb net, custom user registration vb net, daybook entry form vb net, design curve form vb net, design login form vb net, display pdf files windows form vb net loadfile, email form vb net, enquiry form vb net code, login form user password vb net

Tietoa työnantajasta:
( 0 arvostelua ) Blacksburg, United States

Projektin tunnus: #22291811

3 freelanceria on tarjonnut keskimäärin 251$ tähän työhön

MHassanBedor

Hi, I'm VB.NET expert. I developed many VB.NET applications. Looking forward to work with you. Regards

$250 USD 20 päivässä
(38 arvostelua)
4.9
MuhammadFahaam

Greetings, I've reviewed your 10 steps and I can create the app from your attached project files along with access databases. let's engage in a discussion to assess my suitability for your project.

$477 USD 8 päivässä
(16 arvostelua)
5.0
sarathsukumar

okay... of course I can help you...I am working as project coordinator in Christ college of engineering... now in Bangalore.. Shall we start?

$25 USD 3 päivässä
(0 arvostelua)
0.8