Questions tagged [indexed]

151 questions
2
votes
0 answers

Pyomo Indexed Sets

I'm fairly new to Pyomo and trying to figure out what the use cases are for an indexed set (a set of sets). As far as I can tell, it can be substituted for parameter and behave the same way. Any insight or examples of how indexed sets should be used…
Conor
  • 111
  • 2
  • 6
2
votes
1 answer

Why does indexed_search don't work only on sub-pages in TYPO3 8 / 9?

I need your help. I've a TYPO3-installation (version 8.7.24) with 8 different websites in my tree. Now I want to install and configure "indexed_search" for every sub-page. The index is ok and works. My page-tree: - root-page (PID: 1) --…
MFEMH
  • 23
  • 3
2
votes
1 answer

Deleting from Indexed Priority Queue (java)

I have an Indexed Minimum Priority Queue implemented as a heap. When deleting an indexed element, the code is: public void delete(int i) { if (i < 0 || i >= maxN) throw new IllegalArgumentException(); if (!contains(i)) throw new…
2
votes
1 answer

SQL Server 2008 R2 and execution plan in the indexed view

I've created an indexed view (MyView) that consists of three columns: Table1_ID (int not null) Object_CreationDate (datetime, null) Objec_Count(bigint null) I have created clustered unique index IX_1 on two columns: Table1_ID And…
arena-ru
  • 990
  • 2
  • 12
  • 25
2
votes
1 answer

Why this triangle reordering algorithm results in random connections?

So, I found this index reordering/optimizer algorithm which is supposed to sort the triangles composing an arbitrary 3D mesh in a way that improves spatial locality, hopefully increasing performance in a real-time rendering…
user2464424
  • 1,536
  • 1
  • 14
  • 28
2
votes
1 answer

How can I return indexed two-dimensional array from PHP to JavaScript

I need to return indexed two-dimensional array from PHP to JavaScript. I have been searching for solution for days. On client side I have on-change event (in option select) calling JavaScript function which executes a php file. This php file creates…
taviricky
  • 21
  • 2
2
votes
1 answer

Can color cycling be achieved in GDI+?

Is "color cycling" possible in GDI+ with WinForms? I'd like the modify one or more colors in the palette of an on screen surface so that whenever the surface is repainted, GDI+ will use the modified colors. Rather than perform the transformation…
James
  • 1,788
  • 4
  • 22
  • 28
2
votes
1 answer

creating indexes and GL_TRIANGLES surface (only works with vertices data)

I'm with a problem I can not solve: attempt to draw a surface formed by a grid of squares (that are two triangles). Everything works fine when I use only the vertex data and drawing with: //m_totalVertices = m_rows*(m_cols *6) -> m_rows and m_cols…
Fabian Orue
  • 193
  • 2
  • 14
2
votes
2 answers

Alphabet Indexed ListView Without a cursor

I receive data from a server using JSON and I want to order them alphabetically with alphabet indexed section and store them in a ListView. Maybe something that will happen in : for(int i=0;i
stanga bogdan
  • 724
  • 2
  • 8
  • 26
1
vote
2 answers

Indexed/numerical array to an associative array with PHP

Is there anyway that an indexed array say ['1' => 'dave, '2' => 'ryan', '3' => 'mike', '4' => 'sam'] can be turned into an associative array. Which in this case would be ['dave' => 'ryan', 'mike' => 'sam']. Obviously in the context and with the…
RyanM
  • 53
  • 4
1
vote
2 answers

How to erase the searchform, on the search results page, of indexed_search?

I tried to just erase the html markup from the indexed_search template file, this does work fine, until I found out that this causes a Javascript error where I can not use the numeric navigation. (Page 1 Page 2 Page 3 Next >). So is there a…
Tomkay
  • 5,120
  • 21
  • 60
  • 92
1
vote
4 answers

C#: Dictionary indexed by List

I try to write a program where Dictionary is indexed by List. (trust me i do, and yes there are option, but i like indexing by list). There is a minimal working (actually not working, only one last line which is a problem) example: using…
Victor Ermolaev
  • 721
  • 1
  • 5
  • 16
1
vote
1 answer

Problem with indexed access within nested generics

I have a db-config file in the following form: const simpleDbConfig: DbConfig = { firstTable: { columns: { foo: { nameDb: "Foo", dataType: "TEXT" }, bar: { nameDb: "Bar", dataType: "TEXT" }, }, …
Steffen
  • 13
  • 4
1
vote
0 answers

SharePoint list column header filter not working

I have a list which has exceeded LVT,I have created a view and filtered it on an indexed column and made sure the items returned by the filter are less than 5000. When I am trying to filter in the column header on a choice (single value) column it…
1
vote
1 answer

AttributeError: 'list' object has no attribute 'is_expression_type', What does this mean in pyomo?

model = pyo.ConcreteModel() # Sets model.k = pyo.RangeSet(136) model.i = pyo.Set(initialize = [1,2,3,4]) model.n = pyo.Set(model.i,initialize = {1:[1,2,3],2:[1,2,3,4,5],3:[1,2,3],4:[1,2]}) def set_init(model): return [(i,n) for i in model.i…
Jhh
  • 13
  • 3
1 2
3
10 11