Search found 11 matches

by Don
1 year ago
Forum: Modeling
Topic: MDP Modeling
Replies: 9
Views: 3096

Re: MDP Modeling

Thank you, Michael, for the help so far. I returned back to tweak the initial code that had worked. Please I'm trying something else and cant understand the errors: I keep getting a "767 Unexpected symbol will terminate the loop - symbol replaced by )" & "409 Unrecognizable item -...
by Don
1 year ago
Forum: Modeling
Topic: MDP Modeling
Replies: 9
Views: 3096

Re: MDP Modeling

Hi Michael, I keep getting "Uncontrolled set entered as constant" error for the Bellman and Policy equations which affects the Solve statement below. Sets Regions /r1*r11/, RewardMap /r1hA, r1hB, r1hC, r2mA , r2mB, r2mC, r3mA , r3mB, r3mC, r4mA , r4mB, r4mC, r5lA , r5lB, r5lC, r6lA , r6lB,...
by Don
1 year ago
Forum: Modeling
Topic: MDP Modeling
Replies: 9
Views: 3096

Re: MDP Modeling

Hi Michael,

I have made some adjustments to the model.

Although I have one syntax error to resolve, can you look through and see if it makes sense.

I'll want to ultimately generate the best possible solution for each region - indicated by the solution with maximum reward.
by Don
1 year ago
Forum: Modeling
Topic: MDP Modeling
Replies: 9
Views: 3096

Re: MDP Modeling

Understood.

Just pressed for time and deliverable. Will invest some time much later.

For the meantime, can you provide some guidance.
by Don
1 year ago
Forum: Modeling
Topic: MDP Modeling
Replies: 9
Views: 3096

Re: MDP Modeling

Thanks Michael.

Great to see the model work.

However, I've tried something else on the same subject, (I attempted the mapping hint - couldn't get it to work) and now have difficulty resolving some of the errors.

For one, "missing suffix" on line 47 and 48.

kindly assist.
by Don
1 year ago
Forum: Modeling
Topic: MDP Modeling
Replies: 9
Views: 3096

MDP Modeling

Hi, I am trying to model conflict scenarios with response solutions (for electricity access) across 11 regions in a country using an MDP. I am stuck with some debugging errors: (1) Domain violation for elements L, M & H and (2) Row dimension inconsistency for the regions GAMS file is attached (i...
by Don
1 year ago
Forum: Archive Google Group
Topic: Getting Real Number Expected Error
Replies: 4
Views: 7129

Re: Getting Real Number Expected Error

Thank you, Michael. The plan is to have all busses assigned an EDD value. When EDD changes, all values in the assignment changes, rather than changing values manually. What I have: Table BusData(bus,*) Pd 1 291.12 2 291.12 3 291.12 4 291.12; What I intend to have: Table BusData(bus,*) Pd 1 EDD 2 EDD...
by Don
1 year ago
Forum: Archive Google Group
Topic: Getting Real Number Expected Error
Replies: 4
Views: 7129

Re: Getting Real Number Expected Error

Hi there,

I am trying to replace numbers with EDD below and i keep getting the "Real number expected" error. EDD contains a real number.

"
EDD = ED('2050')/30;

Table BusData(bus,*)
Pd
1 EDD
2 291.12
3 291.12
4 291.12;
"
by Don
1 year ago
Forum: Syntax
Topic: Parameters
Replies: 4
Views: 1757

Re: Parameters

Thank you
by Don
1 year ago
Forum: Syntax
Topic: Parameters
Replies: 4
Views: 1757

Re: Parameters

Hi,

A parameter has population data from 2023 to 2050.

How do I display just the population in 2050 or reference just the 2050 population for my next code?

-Don