[Os-project-managers] Question about schemas
Jun Ma
majxuh at hotmail.com
Wed Oct 10 01:25:38 EDT 2012
Let's try to schedule a meeting for this week or next.My calendar this week is not as busy as it usually is. Feel free to suggest and I will block the time. It always get busier as it gets in to the week. See my answers below.
> Hi guys,
> I have thought some more about the OSrL question of the last few
> exchanges. I do not have a solution, but there are other questions,
> about both OSrL and OSoL.
> 1. OSoL> We have <other> elements in <variables>, <constraints> and
> <objectives>, and there is a "type" attribute. What does that
> attribute refer to? I think it is ambiguous. Since the <var> array is
> optional, it seems that there could be an option something like
>
> <other name="relaxIntegrality" type="real" value="0.2"/>
>
> In this case, the "type" refers to the value of the option. But in
> other cases, such as
>
> <other name="stageInfo" type="integer" numberOfVar="2">
> <var idx="0" value="1"/>
> <var idx="1" value="2"/>
> </other>
>
> what does the "type" attribute of the <other> refer to? I assume it
> refers to the value inside the <var> element. Is that your reading
> also? Yes. If other is an array, as in the above example, it is then an integer array.
>Should there then be an attribute "varType" and "enumType" to
> allow for the possibility that an <other> option has both a global
> value and a number of <var> children, with possibly different types? No. The value should be either scalar or vector, but not both. I would assume~
> Also, why does each <var> element have an optional "name", and should
> there be a restriction that either a <var> array or an <enumeration>
> can be given, but not both? Or should the restriction also cover the
> "value" attribute, that is, there can be at most (exactly?) one of
> "value", <var>, <enumeration>? In the latter case, we could get by
> with the single "type" element, but we had better document this!!!
I am not sure about the question exactly. I also peeked at the emails ahead in the queue. We probably can talk in the meeting some time this week or next.
> 2. The same question for the OSrL schema.
>
> 3. In addition, when we set up "type" for OSrL, I think we should have
> an enumeration of types. What should go into that enumeration?
>
> integer
> real (or double?)
> char
> string
> boolean (? needed? "true"/"false" are strings)
> ?
R/B/I/Sfor real/binary/integer/string
> Cheers
>
> gus
> -------------------------------------------------------
>
> Horand I. Gassmann, Professor
>
> School of Business Administration, Dalhousie University
> 6100 University Avenue, PO Box 15000
> Halifax, Nova Scotia, Canada, B3H 4R2
> ph. (902) 494-1844
> fax (902) 494-1107
>
> http://myweb.dal.ca/gassmann/
>
> _______________________________________________
> Os-project-managers mailing list
> Os-project-managers at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/os-project-managers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/os-project-managers/attachments/20121010/603243a2/attachment.html>
More information about the Os-project-managers
mailing list